linear_gradient 0.1.13 linear_gradient: ^0.1.13 copied to clipboard
Linear gradient with 300+ different color combination. Also, it will options for change gradient orientation Vertical and Horizontal.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add linear_gradient
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
linear_gradient: ^0.1.13
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:linear_gradient/linear_gradient.dart';