ThemeMaker class
Manages the application's theme settings, including colors and typography. Implements the SoulThemeEngine interface for centralized theme handling.
A theme engine implementation that creates and caches ThemeData instances based on provided color palettes and typography configurations.
- Implemented types
Constructors
- ThemeMaker(Palette colors, [BrandTypo? typography])
- Creates a ThemeMaker instance with the specified colors and typography.
Properties
- colors → Palette
-
final
- colorScheme → ColorScheme
-
Provides the application's ColorScheme.
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
- textTheme → TextTheme
-
Provides the application's TextTheme.
no setteroverride
- themeData → ThemeData
-
Generates ThemeData from the theme engine.
no setteroverride
- typography → BrandTypo
-
final
Methods
-
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
Static Methods
-
clearCache(
) → void - Clears all cached theme instances
-
makeTheme(
Palette colors, {BrandTypo? typography}) → ThemeData - Creates and caches a ThemeData instance based on the provided parameters.