state_loading_button 1.0.1 state_loading_button: ^1.0.1 copied to clipboard
一个简单的带进度动画的按钮,可自定义各种状态样式以及动态改变进度动画样式。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add state_loading_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
state_loading_button: ^1.0.1
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_loading_button/state_loading_button.dart';