Publish to my blog (weekly)

Top 16 Dart Tips and Tricks Every Flutter Developer Should Know returned as an Iterable returns a Stream Control your Flutter app on the fly with Firebase Remote Config | kazlauskas.dev eventRepository eventRepositoryProvider Flutter Shopping App prototype: Lessons learned | kazlauskas.dev When implementing BLoCs for the prototype, I started adding tests BEFORE the actual map-event-t...

Publish to my blog (weekly)

Flutter Design Patterns: Observer | kazlauskas.dev you define a publish-subscribe mechanism to notify multiple objects about any events that happen to the object they're subscribed to - it is Observer. Observer , also known as Dependents or Publish-Subscribe , belongs to the category of behavioural design patterns. Publisher (Subject)   (Optional) Concrete Publishers Subscriber (Observer)   Concrete Subscribers Client   ...

Publish to my blog (weekly)

Flutter Design Patterns: Flyweight | kazlauskas.dev a creational design pattern that divides the construction of a complex object into several separate steps - Builder. Flutter Design Patterns: Builder | kazlauskas.dev Builder is a creational design pattern To understand it better, let's say we are building a house. To build a house (object), the construction steps (build logic) are pretty much the same - you need the foundation, floor, some walls, doors, windows, a roof, etc. Even though the construction process of the house is the same, each of these steps could be adjusted, hence the final result would look comple...