У нас вы можете посмотреть бесплатно Flutter: Scoped Access with InheritedWidget или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Full source code on GitHub: https://github.com/bizz84/coding-with... Sign up here for more videos: https://codewithandrea.com/ Flutter & Firebase Udemy Course (with discount code): https://codewithandrea.com/courses/fl... In this video I show how to use InheritedWidget to provide scoped access to dependencies within a widget tree. This is based on my previous Flutter & Firebase videos: • Flutter & Firebase Auth 01 - Intro + ... Highlights: How to create your own InheritedWidget subclasses Comparison between constructor dependency injection and scoped access with InheritedWidget Refactor an existing project to use InheritedWidget 00:00 - Intro 01:39 - Flutter Login Demo: project overview 05:08 - Widget tree diagrams 08:28 - Implement AuthProvider class extending InheritedWidget 13:13 - Refactor app to use new AuthProvider 19:07 - Summary Notes: I'm using the iOS simulator, but you can open the Android emulator and run the same code. To run the code on the demo, follow the instructions on the project README file to setup your own Firebase instance. If you need any help, just ask in the comments. I'll be happy to help. Feedback and suggestions on new tutorials are very welcome! This code was written with Flutter Beta 0.5.1, and is tested to work with Dart 2. Want more? Check out all my Flutter courses: 👇👇 https://codewithandrea.com/courses/ Thanks for watching!