curved_gradient 0.2.2 copy "curved_gradient: ^0.2.2" to clipboard
curved_gradient: ^0.2.2 copied to clipboard

Generate a gradient using a custom curve function. Can be used in place of `LinearGradient`.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add curved_gradient

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  curved_gradient: ^0.2.2

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:curved_gradient/curved_gradient.dart';
8
likes
150
pub points
51%
popularity

Publisher

unverified uploader

Generate a gradient using a custom curve function. Can be used in place of `LinearGradient`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on curved_gradient