ColorThemeManager<T extends ColorTheme> class interface

Implementers

Constructors

ColorThemeManager()

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

getCurrentMode() Brightness
Gets the current brightness of the platform whether it's light or dark mode. Returns either Brightness.light or Brightness.dark to match whether device is in normal or dark mode respectively.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDarkTheme(T theme) → void
Sets the light theme with type T. Note that if your device is in dark mode, using setTheme will not do anything until your device is switched to light mode.
setTheme(T theme) → void
Sets the light theme with type T. Note that if your device is in dark mode, using setTheme will not do anything until your device is switched to light mode.
toString() String
A string representation of this object.
inherited

Operators

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