main_button 0.0.11
main_button: ^0.0.11 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 Dart:
$ dart pub add main_buttonWith Flutter:
$ flutter pub add main_buttonThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
main_button: ^0.0.11Alternatively, your editor might support dart pub get or 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';