
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/

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/

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-generation/

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-that-throw/

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-2024/

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/

How to easily add fixed spacing inside Flex widgets such as Columns and Rows or scrolling views. https://codewithandrea.com/tips/gap-widget/

How to easily add fixed spacing inside Flex widgets such as Columns and Rows or scrolling views. https://codewithandrea.com/tips/running-tests-with-github-actions/

A complete guide to implementing pagination with Riverpod, covering: infinite scrolling, loading and error states, search UI, caching, and debouncing. https://codewithandrea.com/articles/flutter-riverpod-pagination/

Learn how to build and deploy a Dart Shelf App that taps into the OpenAI API without exposing the API key in your Flutter client. https://codewithandrea.com/articles/build-deploy-dart-shelf-app-globe/