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
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);
},
),
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 sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.