loader_plus 2.0.4
loader_plus: ^2.0.4 copied to clipboard
Run asynchronous code before building your widget. Loader will rebuild your widget after the loading is complete.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add loader_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
loader_plus: ^2.0.4
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:loader_plus/loader_plus.dart';