loading_animation_widget 1.2.0+4 loading_animation_widget: ^1.2.0+4 copied to clipboard
Loading animation or loading spiner or loader. It's used to show loading animation when the app is in loading state or something is processing for uncertain time.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add loading_animation_widget
With Flutter:
$ flutter pub add loading_animation_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
loading_animation_widget: ^1.2.0+4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:loading_animation_widget/loading_animation_widget.dart';