main_button 0.0.19
main_button: ^0.0.19 copied to clipboard
is a versatile Flutter package for creating highly customizable buttons with options for loading indicators, disabled states, and flexible content.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add main_buttonThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
main_button: ^0.0.19Alternatively, 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:main_button/main_button.dart';