SeedColorThemeBuilder class
Material 3 theme builder using ColorScheme.fromSeed
- Inheritance
-
- Object
- Material3ThemeBuilder
- SeedColorThemeBuilder
Constructors
- SeedColorThemeBuilder({required Color seedColor, bool useMaterial3 = true, ColorScheme? lightColorScheme, ColorScheme? darkColorScheme, ThemeData? baseTheme})
-
const
Properties
- baseTheme → ThemeData?
-
final
- darkColorScheme → ColorScheme?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lightColorScheme → ColorScheme?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seedColor → Color
-
final
- useMaterial3 → bool
-
final
Methods
-
buildDarkTheme(
) → ThemeData -
Build a dark theme
override
-
buildLightTheme(
) → ThemeData -
Build a light theme
override
-
buildTheme(
Brightness brightness) → ThemeData -
Build a theme with custom brightness
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited