Tagged with #provider

Browse all tags
Flutter State Management: Going from setState to Freezed & StateNotifier with Provider

Flutter State Management: Going from setState to Freezed & StateNotifier with Provider

#dart
#flutter
#state-management
#architecture
#provider
#freezed

Mixing UI and logic inside Flutter widgets is bad. Here's how to refactor a simple app for better separation of concerns, immutability, and type safety using Freezed & State Notifier.

Advanced Provider Tutorial - Part 3: Better APIs, Navigation, Widget Rebuilds

Advanced Provider Tutorial - Part 3: Better APIs, Navigation, Widget Rebuilds

#flutter
#dart
#provider

Multi-part tutorial on how to choose and upload an avatar image to Firestore. Part 3 shows more advanced use cases of Provider to reduce boilerplate code, deal with navigation, and minimise unwanted widget rebuilds.

Advanced Provider Tutorial - Part 2: MultiProvider, Multiple Services & Stream Dependencies

Advanced Provider Tutorial - Part 2: MultiProvider, Multiple Services & Stream Dependencies

#flutter
#dart
#provider

Multi-part tutorial on how to choose and upload an avatar image to Firestore. Part 2 shows how to use MultiProvider to create multiple services, and how to deal with stream dependencies.

Advanced Provider Tutorial - Part 1: Project Setup & Authentication Flow

Advanced Provider Tutorial - Part 1: Project Setup & Authentication Flow

#flutter
#dart
#provider

Multi-part tutorial on how to choose and upload an avatar image to Firestore. Part 1 is an overview of initial project setup, and shows how to connect things together with Provider.

Flutter Provider: The Essential Guide

Flutter Provider: The Essential Guide

#flutter
#dart
#provider

Essential guide to Provider for state management in Flutter. This tutorial shows how to refactor the counter app with Provider, and includes in-depth explanations about ChangeNotifier, ChangeNotifierProvider, Provider.of, Consumer and ValueNotifier.

Flutter Provider: Introduction

Flutter Provider: Introduction

#flutter
#dart
#provider

Introduction to Provider, a popular package used for dependency injection and state management in Flutter. This tutorial shows how to use it to enable flavors in your Flutter apps.

Flutter & Firebase: Authentication Service with Provider & ValueNotifier

Flutter & Firebase: Authentication Service with Provider & ValueNotifier

#flutter
#dart
#provider
#firebase
#authentication

Code walkthrough for the authentication code in my Flutter & Firebase reference authentication demo on GitHub.

Flutter: Global Access vs Scoped Access with Provider

Flutter: Global Access vs Scoped Access with Provider

#flutter
#dart
#dependency-injection
#provider
#firebase
#authentication
#scoped-access

This article shows how to use scoped access with Provider when using service classes in our Flutter apps.

Browse all tags

Get the best Flutter tutorials, right in your inbox.

Join over 16,000 developers who receive my weekly Flutter email course & newsletter:

No spam, ever. Unsubscribe at any time.