BaseThemeConfig<T> class

Base theme config is used for theme management Set the required parameters to create new themes.

Constructors

BaseThemeConfig({required String id, required String description, required ThemeData theme(T colorStyles), required T colors, dynamic meta = const {}})
Create a new BaseThemeConfig.

Properties

colors → T
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
meta → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme ThemeData Function(T colorStyles)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAppTheme({ThemeData? defaultTheme}) AppTheme
Convert the theme to a AppTheme object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited