If you're here, come say hi 👋
github.com/alesalv/mini...
#flutter #flutterdev
If you're here, come say hi 👋
github.com/alesalv/mini...
#flutter #flutterdev
Now the example app showcases a basic TODOs list, thanks to @testeurmaniak.bsky.social 's feedback and detailed reasoning, so I increased the tests for the disposable dynamics
Would you like me to write some posts about how to use it?
#flutter #flutterdev #minimal
Now the example app showcases a basic TODOs list, thanks to @testeurmaniak.bsky.social 's feedback and detailed reasoning, so I increased the tests for the disposable dynamics
Would you like me to write some posts about how to use it?
#flutter #flutterdev #minimal
notifier is not part of the data layer, at all. Below it there are repositories and data sources (data layer). Notifiers are what I used to call controllers (UI layer) 👇
notifier is not part of the data layer, at all. Below it there are repositories and data sources (data layer). Notifiers are what I used to call controllers (UI layer) 👇
At this point our async operation is concluded, and our UI is back in sync with the fetching of the data asked by the user.
Most of the user's triggered operations will be async, but with this architecture you have UDF (unidirectional data flow) so ...
⬇️
At this point our async operation is concluded, and our UI is back in sync with the fetching of the data asked by the user.
Most of the user's triggered operations will be async, but with this architecture you have UDF (unidirectional data flow) so ...
⬇️
⬇️
github.com/alesalv/flut...
⬇️
github.com/alesalv/flut...
This is done asynchronously, so ...
⬇️
github.com/alesalv/flut...
This is done asynchronously, so ...
⬇️
github.com/alesalv/flut...
3.2 (Optimized) Rebuild the UI only when part of the state changes
That's all folks! 🔥🔥🔥
3.2 (Optimized) Rebuild the UI only when part of the state changes
That's all folks! 🔥🔥🔥
⬇️
⬇️
⬇️
⬇️
⬇️
⬇️
1 Create an immutable UI state
⬇️
1 Create an immutable UI state
⬇️
The classical counter app demonstrates basic state management. This shows off non disposable and disposable notifiers.
A morphing widget. This shows off two views using the same notifier, autodispose, and state selection
The classical counter app demonstrates basic state management. This shows off non disposable and disposable notifiers.
A morphing widget. This shows off two views using the same notifier, autodispose, and state selection
pub.dev/packages/min...
#flutter #flutterdev
MVN neologism 🔥 by @romanjaquez.bsky.social ©®
pub.dev/packages/min...
#flutter #flutterdev
MVN neologism 🔥 by @romanjaquez.bsky.social ©®
"If user input prompts a change in a model, the controller will signal the model to change, but the model is then responsible for telling its views to update"
This is why we need to have a state management solution, to tell the UI to rebuild upon state changes
"If user input prompts a change in a model, the controller will signal the model to change, but the model is then responsible for telling its views to update"
This is why we need to have a state management solution, to tell the UI to rebuild upon state changes
In MVVM you need to have a binder, a mechanism to make the data binding happen. In old Android xml was the binder
In MVVM you need to have a binder, a mechanism to make the data binding happen. In old Android xml was the binder