flutter_api_state 0.0.9
flutter_api_state: ^0.0.9 copied to clipboard
A Flutter package that simplifies async UI state handling (loading, success, error, empty) with built-in retry and pull-to-refresh support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_api_stateThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_api_state: ^0.0.9Alternatively, 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_api_state/flutter_api_state.dart';