AppTheme class

Theme manager that switches between light and dark CoderColors

Constructors

AppTheme()

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

colors CoderColor
Get the current color set based on theme mode
no setter

Static Methods

autoSwitch(Brightness brightness) → void
Automatically switch theme based on system brightness
setDarkColors(CoderColor colors) → void
Replace dark colors dynamically (e.g. custom themes)
setLightColors(CoderColor colors) → void
Replace light colors dynamically (e.g. custom themes)
useDark() → void
Force dark theme
useLight() → void
Force light theme