color_rgb_a 0.0.1 color_rgb_a: ^0.0.1 copied to clipboard
Represents a color in the red-green-blue scheme with an optional alpha component. Designed for use with both Flutter and CSS.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add color_rgb_a
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
color_rgb_a: ^0.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:color_rgb_a/color_rgb_a.dart';