How to Cancel HTTP Requests with CancelToken and Riverpod

You can use CancelToken to stop unnecessary data fetches when users navigate away or to implement "cancel" buttons in your Flutter apps. https://codewithandrea.com/tips/dio-cancel-token-riverpod/

Létrehozva 10mo | 2024. júl. 11. 15:40:04


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

Flutter App Analytics: Scalable Architecture & Firebase Setup

A complete guide to adding analytics to Flutter apps using Firebase. Track custom events with a maintainable architecture. https://codewithandrea.com/articles/flutter-app-analytics/

2025. máj. 2. 13:40:04 | Code with Andrea
Adaptive Alert Dialog (Material, Cupertino)

A simple alert dialog that supports adaptive mode, default and cancel actions, destructive style, and dismissible mode. https://codewithandrea.com/tips/adaptive-alert-dialog/

2025. máj. 1. 9:50:03 | Code with Andrea
Kotlin DSL in Flutter 3.29: How to Update Your Android Gradle Files

New Kotlin DSL in Flutter 3.29? Learn how to update your Gradle files, configure code signing, flavors, and more, in minutes. https://codewithandrea.com/articles/flutter-android-gradle-kts/

2025. ápr. 30. 15:20:05 | Code with Andrea
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/

2025. ápr. 30. 10:40:04 | 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/

2025. ápr. 29. 13:40:14 | 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/

2025. ápr. 24. 13:20:05 | 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/

2025. ápr. 24. 10:50:09 | Code with Andrea