ThemeUtil class

Constructors

ThemeUtil()

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

currentIsDark bool
getter/setter pair

Static Methods

copyTheme(Color themeColor, {Color? appBarColor, bool centerTitle = true, bool isDarkMode = false, bool useMaterial3 = false}) ThemeData
getDarkColor(BuildContext context, Color darkColor) Color?
getThemeIndex() int
getThemeMode() ThemeMode
initThemeMode() → void
isDark(BuildContext context) bool
setThemeMode(ThemeMode themeMode) → void