hz_loading_button 0.0.1
hz_loading_button: ^0.0.1 copied to clipboard
A width-stable loading ElevatedButton widget with built-in async loading state.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hz_loading_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hz_loading_button: ^0.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:hz_loading_button/custom_loading_button.dart';
import 'package:hz_loading_button/loading_button.dart';