DynamicColorThemeBuilder class
Material 3 theme builder with dynamic color support
- Inheritance
-
- Object
- Material3ThemeBuilder
- DynamicColorThemeBuilder
Constructors
- DynamicColorThemeBuilder({Color? fallbackSeedColor, bool useMaterial3 = true, ThemeData? baseTheme})
-
const
Properties
- baseTheme → ThemeData?
-
final
- fallbackSeedColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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