CompositeThemeBuilder class
Theme builder that combines multiple builders
- Inheritance
-
- Object
- CustomThemeBuilder
- CompositeThemeBuilder
Constructors
-
CompositeThemeBuilder({required List<
CustomThemeBuilder> builders, bool useMaterial3 = true}) -
const
Properties
-
builders
→ List<
CustomThemeBuilder> -
final
-
customData
→ Map<
String, dynamic> ? -
Get the current custom data
no setteroverride
- 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
-
updateCustomData(
Map< String, dynamic> newData) → void -
Update custom data
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited