chaoperty_floating_loader 0.1.9
chaoperty_floating_loader: ^0.1.9 copied to clipboard
Global overlay loader with transparent overlay and GIF. Motions: once, ping-pong, loop-wrap. Optional dim background/card. Callable from anywhere via navigatorKey.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add chaoperty_floating_loader
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
chaoperty_floating_loader: ^0.1.9
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:chaoperty_floating_loader/chaoperty_floating_loader.dart';