flutter_main_button 1.1.0
flutter_main_button: ^1.1.0 copied to clipboard
A versatile Flutter button widget supporting single and dual-button layouts with loading states, icons, and extensive customization options.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_main_buttonThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_main_button: ^1.1.0Alternatively, 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:flutter_main_button/flutter_main_button.dart';