state_button 1.1.0 copy "state_button: ^1.1.0" to clipboard
state_button: ^1.1.0 copied to clipboard

Flutter button with loading, success, and failure states with smooth animations

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add state_button

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  state_button: ^1.1.0

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:state_button/state_button.dart';
5
likes
160
points
88
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter button with loading, success, and failure states with smooth animations

Repository (GitHub)
View/report issues

Topics

#button #loading #animation #ui #async

License

MIT (license)

Dependencies

flutter

More

Packages that depend on state_button