ProKitTheme class
ProKit Theme Manager Class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 Properties
- cT ↔ ProKitThemeModel
-
The current active theme (Core theme initially)
getter/setter pair
- isDark → bool
-
no setter
Static Methods
-
changeAppTheme(
{required ThemeType themeType}) → void - Change the app's theme dynamically (light/dark)
-
getThemeType(
) → ThemeType - Determine the current theme type (light/dark) based on saved preferences
-
initialize(
{ProKitThemeModel? customLightTheme, ProKitThemeModel? customDarkTheme}) → void - Initialize the app theme, allowing optional custom themes to be applied