Flutter Provider: Introduction

Опубликовано: 05 Ноябрь 2024
на канале: Andrea Bizzotto
93,801
1.9k

Sign up here for more updates: 👇👇
https://codewithandrea.com/

LEVEL: BEGINNER

This is an introduction to the Provider Package.

It explains what Provider is and how to install it.

And it shows how to use it as a dependency injection system, to enable multiple flavors in your Flutter apps.

For more info on flavors, see:   / flavoring-flutter  

HIGHLIGHTS

00:00 - Intro
00:56 - Intro to Provider
01:43 - Installing the Provider package
02:05 - Multiple flavors
02:51 - Injecting the flavor with Provider
04:54 - Using Provider.of
06:19 - Adding separate entry points for each flavor
08:32 - Multiple configurations in VS Code

Join my FREE email course to become a Flutter expert with the best resources, at your own pace: https://codewithandrea.com/newsletter/

Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/

Happy coding!