DevConsoleThemeController class

Holds the console's active theme.

Seeded from DevToolkitConfig.theme at init and flipped by the toggle in the console app bar. The console listens, so every tab repaints together.

Constructors

DevConsoleThemeController()

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

palette DevConsolePalette
The active theme's palette. Shorthand for theme.value.palette.
no setter
theme ValueNotifier<DevConsoleTheme>
The active theme. Listen to this to repaint when it changes.
final

Static Methods

toggle() → void
Flips theme between DevConsoleTheme.dark and DevConsoleTheme.light.