Ep.2 - Abstract Factory | Flutter Design Patterns

preview_player
Показать описание
This is the second episode of Design Patterns Series in Flutter, designed for beginners. In this episode, we are going to understand what Abstract Factory Pattern is. We will go through an overly complicated definition, understand it using analogy, continue with the flutter example from first episode and then understand when and why to use this design pattern along with the disadvantages it brings.

Timestamps:
(00:00) Introduction
(00:06) Definition (Abstract Factory)
(00:27) Analogy (Abstract Factory)
(00:56) Flutter Example Approach 1 (Abstract Factory)
(09:29) Flutter Example Approach 2 (Abstract Factory)
(10:01) Abstract Factory vs Factory Method
(10:23) Advantages of Abstract Factory
(11:46) Disadvantages of Abstract Factory
(12:00) Abstract Factory Relation with Other Design Patterns

Resources:

Connect With Me Here:
Рекомендации по теме
Комментарии
Автор

again a *_great_* narration. This series must continue

eneskaraagac
Автор

what is the plugin your using to display the link error while typing in the code?

michaelquimson
Автор

hi . great.
we can create a platformWidgets class with abstract factory design pattern and create all of the widgets and customize those? and check platfrom and show correct widget?

devdecode
Автор

Please make a tutorial of recipe app with firebase in flutter

SpeediBoi
Автор

uber clone bro please, you videos are easy to understand

Abdihakim-com
Автор

I have a question not related to this video but yeah, bro I have website which is build with Django and database I am using sqlLite3 and I have mobile app which is build with flutter and firebase now I want that my website and Mobile app should connect with each other for example like Facebook, I create an account in Facebook app or website both account will be same the point I want to say that my mobile app and website should communite as both are same If an user create an account in my app that account should be same in the website too.

baluch
Автор

Sir please also make videos on the flutter full stack food panda clone and the uber clone app. Thanks in advance :)

realislam
Автор

Thanks for such amazing clone apps on your channel, sir please also make an uber clone app. It's a request

ZarakTekken
Автор

Wouldn't it be better to give the color as a variable instead of a method?



abstract class PlatformIndicator {
final Color color;
Widget build();
const
}

class AndroidIndicator implements PlatformIndicator {
@override
Color get color => Colors.red;



@override
Widget build() {
return color);
}
}

class IOSIndicator implements PlatformIndicator {
@override
Widget build() {
return color);
}

@override
Color get color => Colors.grey;
}

mymoonum