main_button 0.0.16 main_button: ^0.0.16 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_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
main_button: ^0.0.16
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:main_button/main_button.dart';