Results for “ColorScheme.fromSeed”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- ColorScheme.fromSeedconstructor
Generate a ColorScheme derived from the given seedColor. material.ColorScheme.ColorScheme.fromSeed ColorScheme fromSeed Color
- material.DynamicSchemeVariantenum
algorithm used to construct a ColorScheme in ColorScheme.fromSeed. material.DynamicSchemeVariant DynamicSchemeVariant Dynamic Scheme Variant enum material
Version changes
- Migrating to Material 33.16.0breaking
values for `ThemeData.colorScheme` are updated to match the Material 3 Design spec. The `ColorScheme.fromSeed` constructor generates a `ColorScheme` derived from the given `seedColor`. The colors generated
- Introduce new ColorScheme roles3.22.0breaking
existing color roles: `background`, `onBackground`, and `surfaceVariant`. The `ColorScheme` constructed by the updated `ColorScheme.fromSeed` method now generates different values compared to the previous version, adapting
- - Fixes an issue in the `ColorScheme.fromSeed` method to respect the seed color even if the seed color is very bright.3.22.2bugfix
Fixes an issue in the `ColorScheme.fromSeed` method to respect the seed color even if the seed color is very bright
- Material 3 tokens update3.41.0breaking
will have to manually set those properties to their desired color after generating. ColorScheme.fromSeed ColorScheme.fromImageProvider
- Page transitions replaced by ZoomPageTransitionsBuilder3.0.0breaking
explicitly for the target platforms. Code before migration: ```dart MaterialApp( theme: ThemeData(colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple)), ) ``` Code after migration: ```dart MaterialApp( theme: ThemeData( pageTransitionsTheme: const PageTransitionsTheme( builders
- Migrate to standalone material_ui and cupertino_ui packagesunreleasedbreaking
The Material and Cupertino design libraries are now available as standalone packages