flutter_resilience 1.0.1
flutter_resilience: ^1.0.1 copied to clipboard
A production-ready Flutter/Dart package for network resilience. Implements automatic API retry, exponential backoff, circuit breaker, timeout handling, and request fallback logic. Inspired by Polly, d [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_resilienceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_resilience: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_resilience/flutter_resilience.dart';