Launch Offer

Flutter Foundations Course

Buy now and get 25% off the regular price!

View Course

Tagged with #riverpod

Browse all tags
Flutter App Architecture: The Application Layer

Flutter App Architecture: The Application Layer

#dart
#flutter
#state-management
#app-architecture
#riverpod

Service classes are the ideal place to store logic that depends on multiple data sources or repositories. Let's explore them by building a shopping cart feature.

Flutter App Architecture: The Presentation Layer

Flutter App Architecture: The Presentation Layer

#dart
#flutter
#state-management
#app-architecture
#riverpod

How to implement controller classes that can hold business logic, manage widget state, and interact with repositories in the data layer.

Use AsyncValue.guard rather than try/catch inside your StateNotifier subclasses

Use AsyncValue.guard rather than try/catch inside your StateNotifier subclasses

#dart
#flutter
#riverpod

If you have many StateNotifier subclasses, using try/catch can be tedious. With AsyncValue.guard you get the same result with less boilerplate.

Flutter App Architecture with Riverpod: An Introduction

Flutter App Architecture with Riverpod: An Introduction

#dart
#flutter
#riverpod
#app-architecture
#design-patterns

An introduction to a new App Architecture based on Riverpod, and comparison with other popular ones such as MVC, MVVM, Bloc, Stacked & Clean Architecture.

Flutter Riverpod Tip: Use AsyncValue rather than FutureBuilder or StreamBuilder

Flutter Riverpod Tip: Use AsyncValue rather than FutureBuilder or StreamBuilder

#dart
#flutter
#riverpod
#state-management

The AsyncValue class from the Riverpod package offers a much nicer API compared to AsyncSnapshot from the FutureBuilder and StreamBuilder widgets. Here's how to use it.

How to handle loading and error states with StateNotifier & AsyncValue in Flutter

How to handle loading and error states with StateNotifier & AsyncValue in Flutter

#dart
#flutter
#state-management
#riverpod

When performing asynchronous work, we need to account for loading and error states in our UI. This article presents simple and reusable approach to handle this across multiple screens.

Responsive layouts in Flutter: Split View and Drawer Navigation

Responsive layouts in Flutter: Split View and Drawer Navigation

#dart
#flutter
#layouts
#state-management
#riverpod

How to implement a responsive layout in Flutter by using a split view on large screens and drawer navigation on mobile.

Flutter State Management with Riverpod: The Essential Guide

Flutter State Management with Riverpod: The Essential Guide

#dart
#flutter
#state-management
#riverpod

A complete guide to the Riverpod package for Flutter state management. Included: core concepts & how to use all the available providers. Updated to Riverpod 1.0.

AsyncValueWidget: a reusable Flutter widget to work with AsyncValue (using Riverpod)

AsyncValueWidget: a reusable Flutter widget to work with AsyncValue (using Riverpod)

#dart
#flutter
#state-management
#riverpod

How to create a reusable widget class that helps us when working with asynchronous data from Riverpod providers.

Starter Architecture for Flutter & Firebase Apps using Riverpod

Starter Architecture for Flutter & Firebase Apps using Riverpod

#flutter
#dart
#firebase
#app-architecture
#riverpod
#design-patterns

A detailed overview of a production-ready architecture that I've fine-tuned over the last two years. You can use the included starter project as the foundation for your Flutter & Firebase apps.

Browse all tags