How to Auto-Generate your Providers with Flutter Riverpod Generator

Thanks to the new Riverpod Generator package, we no longer have to declare providers manually. This guide explains how to use the new @riverpod syntax. https://codewithandrea.com/articles/flutter-riverpod-generator/

Created 3y | Oct 21, 2022, 1:20:57 PM


Login to add comment

Other posts in this group

How to Initialize Firebase Remote Config

A battle tested solution for loading Firebase Remote Config in Flutter, avoiding common pitfalls. https://codewithandrea.com/tips/firebase-remote-config-init/

Apr 30, 2025, 10:40:04 AM | Code with Andrea
How to Disable Impeller on Android

debugRepaintRainbowEnabled helps you discover widgets/areas that unexpectedly repaint in your app. Here's how to use it. https://codewithandrea.com/tips/disable-impeller-android/

Apr 29, 2025, 1:40:14 PM | Code with Andrea
April 2025: Flutter Roadmap Update, New Beta Release, Latest Community Articles

Also included: upcoming changes to the formatter in Dart 3.8, common mistakes in Flutter and Dart development, OWASP Mobile Top 10 series. https://codewithandrea.com/newsletter/april-2025/

Apr 24, 2025, 1:20:05 PM | Code with Andrea
How to use debugRepaintRainbowEnabled

debugRepaintRainbowEnabled helps you discover widgets/areas that unexpectedly repaint in your app. Here's how to use it. https://codewithandrea.com/tips/debug-repaint-rainbow-enabled/

Apr 24, 2025, 10:50:09 AM | Code with Andrea
TextFormField Setup for Numeric Inputs

When working with forms in Flutter, numeric inputs need special attention. To improve the user experience, set the appropriate keyboardType and inputFormatters. https://codewithandrea.com/tips/text-fo

Apr 15, 2025, 4:10:04 PM | Code with Andrea
Showing URLs on Flutter web with TextSpan

The TextSpan class lets you set a custom mouse cursor style, along with a tap gesture recognizer for opening your URL links on Flutter web. https://codewithandrea.com/tips/show-flutter-web-url-text-sp

Apr 9, 2025, 4:20:08 PM | Code with Andrea
A/B Testing in Flutter

A/B tests help you make data-driven decisions and increase conversions in your app. Here's how they work. https://codewithandrea.com/tips/ab-testing-flutter/

Apr 8, 2025, 12:30:04 PM | Code with Andrea