DebugTheme class

Theme configuration for debug visualizations.

Controls colors for spatial index grid, hit areas, and debug overlays.

Use DebugTheme.light or DebugTheme.dark for pre-configured themes.

Constructors

DebugTheme({Color color = const Color(0x20CC4444), Color borderColor = const Color(0xFF994444), Color activeColor = const Color(0x2000AA00), Color activeBorderColor = const Color(0xFF338833), Color labelColor = const Color(0xCCDDDDDD), Color labelBackgroundColor = const Color(0xDD1A1A1A), Color indicatorColor = const Color(0xFF00DD00), List<Color> segmentColors = _defaultSegmentColors})
const

Properties

activeBorderColor Color
Border color for active grid cells. Greenish tone, opaque.
final
activeColor Color
Fill color for active grid cells. Greenish tone, can be transparent.
final
borderColor Color
Border color for inactive grid cells. Reddish tone, opaque.
final
color Color
Fill color for inactive grid cells. Reddish tone, can be transparent.
final
hashCode int
The hash code for this object.
no setteroverride
indicatorColor Color
Color for active indicators (mouse in cell, etc.). Opaque.
final
labelBackgroundColor Color
Background color for labels.
final
labelColor Color
Text color for labels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentColors List<Color>
Colors for spatial segments in Z-order (lowest to highest).
final

Methods

copyWith({Color? color, Color? borderColor, Color? activeColor, Color? activeBorderColor, Color? labelColor, Color? labelBackgroundColor, Color? indicatorColor, List<Color>? segmentColors}) DebugTheme
getSegmentColor(int index) Color
Gets the segment color for a given index.
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.
override

Constants

dark → const DebugTheme
Dark theme variant for debug visualization.
light → const DebugTheme
Light theme variant for debug visualization.