curved_gradient 0.3.0 copy "curved_gradient: ^0.3.0" to clipboard
curved_gradient: ^0.3.0 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.3.0

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
140
pub points
54%
popularity

Publisher

unverified uploader

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on curved_gradient