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.
How to use #
loading_animation_widget: to your
pubspec.yaml dependencies then run
flutter pub get
Add this line to import the package.
All loading animation APIs are same straight forward. There is a static method for each animation inside
LoadingAnimationWidget class, which returns the Object of that animation. Both
color are required some animations need more than one color.
Loading animation with one
Scaffold( body: Center( child: LoadingAnimationWidget.staggeredDotWave( color: Colors.white, size: 200, ), ),
Loading animation with more than one color. You have to provide both required colors.
Scaffold( body: Center( child: LoadingAnimationWidget.twistingDots( leftDotColor: const Color(0xFF1A1A3F), rightDotColor: const Color(0xFFEA3799), size: 200, ), ),
Screen recordings with design credits #
All flutter packages
● Sliding Clipped Nav Bar
● Water Drop Nav Bar
● Swipeable Tile
➜ Loading Animation Widget