drklepson_future_loading 0.0.2 drklepson_future_loading: ^0.0.2 copied to clipboard
With this extension, you can create a loading dialog that lasts from the moment you run the Future functions until the process is complete.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add drklepson_future_loading
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
drklepson_future_loading: ^0.0.2
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:drklepson_future_loading/drklepson_future_loading.dart';