button_with_loader 0.1.1
button_with_loader: ^0.1.1 copied to clipboard
A new Flutter package for button with button states ideal/loading/error/done and can customize it with builder widget.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add button_with_loaderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
button_with_loader: ^0.1.1Alternatively, 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:button_with_loader/button_with_loader.dart';