smart_state_handler 1.0.1
smart_state_handler: ^1.0.1 copied to clipboard
A comprehensive Flutter widget for handling all UI states (loading, error, success, empty, offline) with animations, overlay mode, pagination, and extensive customization options.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_state_handler
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
smart_state_handler: ^1.0.1
Alternatively, 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:smart_state_handler/smart_state_handler.dart';