Previous episode: 06. Create a Book Manager Class
Next episode: 08. Create the Router Delegate
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Open main.dart file in our lib folder. This has the main method and is the staring point of our application.
locate the todo comment TODO: Initialise App State Manager and Initialise our app state manager with final keyword as follows.
final _appStatemanager = AppStateManager();
Now we have to wrap our MaterialApp with MultiProvider so that we can pass multiple providers before the root of the app is build. And we create an instance of our provider. So pass
in the providers array where we can pass multiple passwords.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.