loading_modal_button 1.1.5 loading_modal_button: ^1.1.5 copied to clipboard
Buttons that show a loading modal when pressed. And after finish loading, you can execute a function.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add loading_modal_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
loading_modal_button: ^1.1.5
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:loading_modal_button/loading_modal_button.dart';