flutter_api_state 0.0.7
flutter_api_state: ^0.0.7 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 Dart:
$ dart pub add flutter_api_stateWith Flutter:
$ flutter pub add flutter_api_stateThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_api_state: ^0.0.7Alternatively, your editor might support dart pub get or 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';