ThemeBuilder class

Centralized theme management system that handles application theme settings, including color schemes and typography configurations.

Implements the OrkittThemeEngine interface to provide consistent theme generation with built-in caching for performance optimization.

Implemented types

Constructors

ThemeBuilder(Palette colors, [BrandTypo? typography])
Constructs a ThemeMaker instance with specified color and typography configurations

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 configuration
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

build(Palette palette, {BrandTypo? typography}) ThemeData
Applies color palette and typography to generate a complete theme
clearCache() → void
Clears all cached theme instances