gradient_button 0.0.4 icon indicating copy to clipboard operation
gradient_button: ^0.0.4 copied to clipboard

A gradient_button is easy to use package which allows the applications that requires the button with the Gradient color.

gradient_button(Under Development) #

A gradient_button is easy to use package which allows the applications that requires the button with the Gradient color.

Image Plugin

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.

9
likes
80
pub points
32%
popularity

Publisher

verified publisher iconmindinventory.com

A gradient_button is easy to use package which allows the applications that requires the button with the Gradient color.

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gradient_button