hero_button 1.0.3
hero_button: ^1.0.3 copied to clipboard
A beautiful button library for flutter, made easy to use properties which can't used in default button, user can apply color, icon, padding easily which using extra code.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hero_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hero_button: ^1.0.3
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:hero_button/hero_button.dart';