Gradient Button
Gradient button package lets you add a beautiful gradient to a button in your Flutter app.
Installation
- Add the latest version of package to your pubspec.yaml (and run
dart pub get
):
dependencies:
gradient_button: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:gradient_button/gradient_button.dart';
Example
There are a number of properties that you can modify:
- Button Text
- width
- Button Padding
- Button TextStle
- gradient (color1 and color2),
|
Next Goals
x
Add more properties to the package..