How to Build a Robust Flutter App Initialization Flow with Riverpod

Some useful Riverpod techniques you can use to initialize async dependencies, show some loading UI, and handle errors during app startup. https://codewithandrea.com/articles/robust-app-initialization-riverpod/

Erstellt 3mo | 21.01.2024, 01:30:14


Melden Sie sich an, um einen Kommentar hinzuzufügen

Andere Beiträge in dieser Gruppe

Responsive Flutter Layout with SizedBox & Center

Some helper widgets for creating Flutter layouts that grow horizontally up to a given width, then remain fixed at that width. https://codewithandrea.com/tips/responsive-center-layout/

30.04.2024, 15:40:07 | Code with Andrea
How to Run Multiple Test Variants

You can run a widget test multiple times with the variant argument. Very useful for golden image tests for different screen sizes. https://codewithandrea.com/tips/run-multiple-test-variants/

26.04.2024, 16:10:04 | Code with Andrea
How to Use Tags in Your Unit and Widget Tests

Ever wanted to filter tests so you only run the ones you need to? This can be easily done using test tags. https://codewithandrea.com/tips/unit-widget-test-tags-flutter/

26.04.2024, 16:10:03 | Code with Andrea
Code Generation with Dart & Flutter: The Ultimate Guide

An extensive guide covering the code generation mechanism in Dart, useful code-generating packages, and tips for efficient codebase maintenance. https://codewithandrea.com/articles/dart-flutter-code-g

26.04.2024, 13:50:01 | Code with Andrea
Testing Functions That Throw

When writing test expectations for functions that throw, we need a bit careful. To avoid surprises, always pass a closure inside the expect method. https://codewithandrea.com/tips/testing-functions-th

25.04.2024, 10:30:12 | Code with Andrea
April 2024: WASM I/O Updates, Theme Extensions, Signals 5.0, iOS Privacy Manifest Tools

Also included in this edition: UI Testing with Maestro, Flutter Custom Carousel, codegen with GenQ, Shorebird 1.0, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/april-202

25.04.2024, 10:30:12 | Code with Andrea
Flutter Tip: Use Composition Aggressively

Create small, reusable widgets that are easier to reason about, and banish the massive build method from existence! https://codewithandrea.com/tips/use-composition-aggressively/

23.04.2024, 17:30:08 | Code with Andrea