Last updated:
0 purchases
gradient button
gradient_button(Under Development) #
A gradient_button is easy to use package which allows the applications that requires the button with the Gradient color.
Key Features #
Set Start and end color and see the Button with Gradient.
Getting Started #
To use this package, add gradient_button as a dependency in your pubspec.yaml file.
dependencies:
...
gradient_button: ^0.0.1
copied to clipboard
Now in your Dart code, you can use:
import 'package:gradient_button/gradient_button.dart';
Usage #
GradientButton(
startColor: Colors.red,
endColor: Colors.grey,
onTap: (){
final snackBar = SnackBar(content: Text('Yay! A SnackBar!'));
ScaffoldMessenger.of(context).showSnackBar(snackBar);
},
),
copied to clipboard
LICENSE! #
gradient_button is MIT-licensed.
Let us know! #
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.