progress_indicator_button 0.0.1 copy "progress_indicator_button: ^0.0.1" to clipboard
progress_indicator_button: ^0.0.1 copied to clipboard

outdated

A simple button which can transform and show a progress indicator.

Progress Button #

A simple button that gives you the possibility to transform into a circular one and shows a progress indicator.

How to use #

ProgressButton(
    width: 320,
    height: 60,
    borderRadius: BorderRadius.all(Radius.circular(8)),
    child: Text(
        "Sample",
        style: TextStyle(
        color: Colors.white,
        fontSize: 24,
        ),
    ),
    onPressed: (AnimationController controller) {
        if (controller.isCompleted) {
            controller.reverse();
        } else {
            controller.forward();
        }
    },
)

Please check the sample folder for a simple implementation.

Changelog #

Please see the Changelog page to know what's recently changed.

Contributions #

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.

License #

This project is licensed under the MIT License - see the LICENSE.md file for details

20
likes
0
pub points
76%
popularity

Publisher

unverified uploader

A simple button which can transform and show a progress indicator.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on progress_indicator_button