Declaring Riverpod Providers with Ref

Since Riverpod 2.6.0, all generated providers can be declared with a Ref argument. Here's how to migrate to the new syntax. https://codewithandrea.com/tips/riverpod-prodivers-with-ref/

Creată 11d | 4 nov. 2024, 17:50:10


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

How to Design Your Flutter App Icons in Figma

A video showing how to create a custom app icon from scratch in Figma, even if you're new to design. https://codewithandrea.com/videos/how-to-design-flutter-app-icons-figma/

15 nov. 2024, 09:20:20 | Code with Andrea
Apple Small Business Program

If your app sales are less than $1M/year, you can apply to the Small Business Program and slash your fees to 15%! https://codewithandrea.com/tips/apple-small-business-program/

12 nov. 2024, 16:20:14 | Code with Andrea
Error.throwWithStackTrace

With Error.throwWithStackTrace, you can throw custom exceptions while keeping the original stack trace intact. https://codewithandrea.com/tips/error-throw-with-stack-trace/

12 nov. 2024, 16:20:14 | Code with Andrea
6 Key Steps to Take Before Releasing your Next Flutter App

Prepare your Flutter app for launch with these 6 steps, including flavors and environments, error monitoring, force updates, and in-app reviews. https://codewithandrea.com/articles/key-steps-before-re

24 oct. 2024, 10:40:10 | Code with Andrea
October 2024: Flutter Fundamentals, Memory Leaks, Offline-First Apps, In-App Payments, New UI/UX Packages

Also included: getting a Flutter job, auto stop services (Firebase extension), animated Flutter widgets, and the latest from Code with Andrea. https://codewithandrea.com/newsletter/october-2024/

24 oct. 2024, 10:40:09 | Code with Andrea
What does flutter pub upgrade do?

If you want to upgrade all dependencies to the latest non-major version, ignoring the pubspec.lock file, use flutter pub upgrade. https://codewithandrea.com/tips/flutter-pub-upgrade/

23 oct. 2024, 09:20:06 | Code with Andrea
How to Setup Flutter & Firebase with Multiple Flavors using the FlutterFire CLI

Learn how to set up Firebase for multiple flavors in your Flutter app using the FlutterFire CLI. This guide covers iOS, Android, and web configurations. https://codewithandrea.com/articles/flutter-fir

18 oct. 2024, 13:20:12 | Code with Andrea