Results for “ColorScheme”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- ColorSchemeclass
that can be used to configure the color properties of most components. material.ColorScheme ColorScheme Color Scheme class material
- ColorScheme.newconstructor
Create a ColorScheme instance from the given colors. material.ColorScheme.ColorScheme.new ColorScheme new Color Scheme.new constructor material
- ColorScheme.fromSeedconstructor
Generate a ColorScheme derived from the given seedColor. material.ColorScheme.ColorScheme.fromSeed ColorScheme fromSeed Color Scheme.from Seed constructor material
- ColorScheme.lightconstructor
Create a light ColorScheme based on a purple primary color that matches the baseline Material 2 color scheme. material.ColorScheme.ColorScheme.light ColorScheme light Color Scheme.light constructor material
- ColorScheme.highContrastDarkconstructor
Create a high contrast ColorScheme based on the dark baseline Material 2 color scheme. material.ColorScheme.ColorScheme.highContrastDark ColorScheme highContrastDark Color Scheme.high Contrast Dark constructor material
- ColorScheme.highContrastLightconstructor
Create a high contrast ColorScheme based on a purple primary color that matches the baseline Material 2 color scheme. material.ColorScheme.ColorScheme.highContrastLight ColorScheme highContrastLight Color Scheme.high Contrast Light
- ColorScheme.fromSwatchconstructor
Creates a color scheme from a MaterialColor swatch. material.ColorScheme.ColorScheme.fromSwatch ColorScheme fromSwatch Color Scheme.from Swatch constructor material
- ColorScheme.darkconstructor
dark color scheme that matches the baseline Material 2 color scheme. material.ColorScheme.ColorScheme.dark ColorScheme dark Color Scheme.dark constructor material
- material.DynamicSchemeVariantenum
algorithm used to construct a ColorScheme in ColorScheme.fromSeed. material.DynamicSchemeVariant DynamicSchemeVariant Dynamic Scheme Variant enum material
- ThemeData.fromconstructor
Create a ThemeData based on the colors in the given colorScheme and text styles of the optional textTheme. material.ThemeData.ThemeData.from ThemeData from Theme Data.from constructor material