How to Fetch Data and Perform Data Mutations with the Riverpod Architecture

When building mobile apps, we often need to fetch and mutate data. This article explains how to do it effectively using my reference Riverpod architecture. https://codewithandrea.com/articles/data-mutations-riverpod/

Établi 1y | 22 sept. 2023 à 13:40:05


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Move Declaration to File (VSCode assist)

With VSCode, you can easily move your Dart classes and functions to a different file (this is very useful when refactoring). https://codewithandrea.com/tips/move-to-file-vscode-assist/

8 janv. 2025 à 13:50:05 | Code with Andrea
Using Stack and FractionallySizedBox

Here's how to overlay multiple widgets inside a Stack and constrain their size and position with Positioned and FractionallySizedBox. https://codewithandrea.com/tips/stack-fractionally-sized-box/

7 janv. 2025 à 10:10:03 | Code with Andrea
December 2024: Flutter 3.27 Release, Architecture Case Study, Dart Microbenchmarks, and Union Types

Also included: Dart 3.6, Flutter AI Toolkit, Flutter in Production livestream, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/december-2024/

23 déc. 2024 à 15:10:09 | Code with Andrea
Digits Separators in Dart 3.6

Since Dart 3.6 (Flutter 3.27), you can use _ as a digits separator. This works with integers and floats, as well as custom formats (hex, scientific). https://codewithandrea.com/tips/digits-separators-

20 déc. 2024 à 13:10:06 | Code with Andrea
Color API Deprecations in Flutter 3.27

To support the latest wide gamut color spaces, Flutter 3.27 has deprecated some properties and methods in the Color class. https://codewithandrea.com/tips/color-deprecations-flutter-3-27/

20 déc. 2024 à 13:10:05 | Code with Andrea
The ListWheelScrollView Widget

If you need to select between a small list of values but have limited vertical space, you can use a ListWheelScrollView. https://codewithandrea.com/tips/list-wheel-scroll-view/

20 déc. 2024 à 13:10:05 | Code with Andrea
Text Style with Tabular Figures

If you want to render fixed width (monospaced) digits, set FontFeature.tabularFigures() inside your TextStyle. https://codewithandrea.com/tips/text-style-tabular-figures/

18 déc. 2024 à 14:40:06 | Code with Andrea