delayed_consumer_hud 0.1.1 delayed_consumer_hud: ^0.1.1 copied to clipboard
This HUD is useful when you perform lots of fast async calls that sometimes can be slow. In these cases you want to have the opportunity to show a HUD is the async call happens to be slow. An example [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add delayed_consumer_hud
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
delayed_consumer_hud: ^0.1.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:delayed_consumer_hud/delayed_consumer_hud.dart';