conatiner_color 0.0.1 copy "conatiner_color: ^0.0.1" to clipboard
conatiner_color: ^0.0.1 copied to clipboard

To add a colour gradient to a Container widget in Flutter, you can use the BoxDecoration class and set the gradient property. This will create a Container with a vertical linear gradient that goes fro [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add conatiner_color

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

dependencies:
  conatiner_color: ^0.0.1

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:conatiner_color/conatiner_color.dart';
5
likes
130
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

To add a colour gradient to a Container widget in Flutter, you can use the BoxDecoration class and set the gradient property. This will create a Container with a vertical linear gradient that goes from red at the top to yellow at the bottom..

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on conatiner_color