Flutter App Architecture with Riverpod: An Introduction

An introduction to a new App Architecture based on Riverpod, and comparison with other popular ones such as MVC, MVVM, Bloc, Stacked & Clean Architecture. https://codewithandrea.com/articles/flutter-app-architecture-riverpod-introduction/

Flutter Riverpod Tip: Use AsyncValue rather than FutureBuilder or StreamBuilder

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. https://codewithandrea.com/articles/flutter-use-async-value-not-future-stream-builder/

Flutter App Architecture: The Domain Model

An introduction to the domain model and its role in defining entities and the business logic for manipulating them in the context of Flutter app architecture. https://codewithandrea.com/articles/flutter-app-architecture-domain-model/

Flutter App Architecture: The Domain Layer

An introduction to the domain model and its role in defining entities and the business logic for manipulating them in the context of Flutter app architecture. https://codewithandrea.com/articles/flutter-app-architecture-domain-layer/

Simplified Flutter Localization using a BuildContext extension

How to simplify the Flutter skeleton app template to more easily access localized strings inside our widgets. https://codewithandrea.com/articles/flutter-localization-build-context-extension/

How to replace SizedBox with compile-time constants for better performance

A useful tip to write more performant code when using SizedBox as a gap between widgets inside a Row or Column layout. https://codewithandrea.com/tips/const-sized-box-gap/

How to add Firebase to a Flutter app with FlutterFire CLI

How to configure simple Flutter & Firebase apps using the FlutterFire from the command line. https://codewithandrea.com/articles/flutter-firebase-flutterfire-cli/

Flutter Flavors Setup with multiple Firebase Environments using FlutterFire and Very Good CLI

How to configure simple or multi-flavor Flutter & Firebase apps using the FlutterFire and Very Good CLI tools from the command line. https://codewithandrea.com/articles/flutter-flavors-for-firebase-apps/

Flutter App Architecture: The Repository Pattern

An in-depth overview of the repository pattern in Flutter: what it is, when to use it, and various implementation strategies along with their tradeoffs. https://codewithandrea.com/articles/flutter-repository-pattern/


Membres



Chercher