Light and Dark Theme with Provider - Flutter Explained - Level: Medium
#DarkTheme and #LightTheme is one of the most popular trends in 2020. This is for me reason enough to explain on the example the provider package in #Flutter. Today in #FlutterExplained we solve the mystery of how to implement and use the provider package to create a dark and light theme depending on the users selection. βοΈβοΈ Helpful Ressources βοΈβοΈ Repository: https://github.com/md-weber/provider_explained_theme βοΈβοΈ Timeline βοΈβοΈ 00:24 - Provider and SharedPreferences Package 1:22 - Boilerplate 1:45 - ThemeData in Material 2:50 - Starting with the Boilerplate and TODOΒ΄s 4:40 - Understand how to implement a ChangeNotifier 6:00 - Implement the ThemeProvider (ChangeNotifier) 11:00 - Change the Theme 14:00 - Outro βοΈβοΈ Follow me βοΈβοΈ Twitter - https://twitter.com/max_myracle Github - https://github.com/md-weber Hashnode / Blog - https://hashnode.com/@Myracle βοΈβοΈ Support βοΈβοΈ If you read this so far, thank you once more. If you like to support me, here are some links that could
βhttps://tube.tchncs.de/w/8Vhkymo5waEddH5SKGAytX