flex_seed_scheme 3.4.1 flex_seed_scheme: ^3.4.1 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 Flutter:
$ flutter pub add flex_seed_scheme
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flex_seed_scheme: ^3.4.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:flex_seed_scheme/flex_seed_scheme.dart';