Brian Egan: Learn Scoped Model by building Scoped Model

preview_player
Показать описание
Are you learning Flutter architecture, but confused by Streams, Sinks, RxDart, Redux, and all the others? There’s a simpler alternative: Scoped Model! However, Scoped Model is merely a wrapper around two Flutter features: InheritedWidgets and Listenables!

First, we’ll dive into how the role of Model classes and how they can be used to architect scalable applications. We will write a Model class from scratch, demonstrating how it uses the Listenable class from Flutter!

Next, we’ll write the ScopedModel Widget. This will demonstrate how to pass data from a Model to several different Widgets using the power of InheritedWidgets!

This talk aims to demonstrate how you can use Scoped Model to build scalable applications, as well as a practical understanding of how you can use two powerful features of Flutter: Listenables and InheritedWidgets!
Рекомендации по теме