animation_loading_button 0.0.4 copy "animation_loading_button: ^0.0.4" to clipboard
animation_loading_button: ^0.0.4 copied to clipboard

is a Flutter package with a simple implementation of an animated loading button, complete with success animations.

animation_loading_button #

Message Awesome Flutter GitHub downloads GitHub issues GitHub watchers

animation_loading_button is a Flutter package with a simple implementation of an animated loading button, complete with success animations.

Gif demo

Getting Started #

Follow these steps to use this package

Add dependency #

dependencies:
  animation_loading_button: ^0.0.4

Add import package #

import 'package:animation_loading_button/animation_loading_button.dart';

Easy to use #

Simple example of use loading button
Put this code in your project at an screen and learn how it works 😊

LoadingButton(
              type: LoadingButtonType.color,
              // Content inside the button when the button state is idle.
              idleStateWidget: const Text(
                'Color button',
                style: TextStyle(
                  color: Colors.black,
                ),
              ),
              useEqualLoadingStateWidgetDimension: true,
              // Whether or not to animate the width of the button. Default is `true`.
              // If this is set to `false`, you might want to set the `useEqualLoadingStateWidgetDimension` parameter to `true`.
              useAnimation: true,
              loadingType: LoadingType.circleSpinIndicator,
              // If you want a fullwidth size, set this to double.infinity
              width: 150.0,
              height: 40.0,
              buttonColor: Colors.blueAccent,
              loadingColor: Colors.white,
              onPressed: (){},
            ),

Source #

Source code and example of this library can be found in git:

$ git clone https://github.com/letienkhang/progessloadingbutton.git
3
likes
130
pub points
23%
popularity

Publisher

verified publisherhibeun.com

is a Flutter package with a simple implementation of an animated loading button, complete with success animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on animation_loading_button