flex_seed_scheme 3.1.0 flex_seed_scheme: ^3.1.0 copied to clipboard
A more flexible and powerful version of Flutter's ColorScheme.fromSeed. Use multiple seed colors, custom chroma and tone mapping.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flex_seed_scheme
With Flutter:
$ flutter pub add flex_seed_scheme
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flex_seed_scheme: ^3.1.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flex_seed_scheme/flex_seed_scheme.dart';