InspectorTheme class

Visual palette for the inspector overlay. Passed in via Inspector.theme so host apps can retune accent colours (e.g. for dark themes where the default blue selection lacks contrast against a colorScheme.primary of similar hue).

Annotations

Constructors

InspectorTheme({Color selectedColor = const Color(0xFF2962FF), Color hoveredColor = const Color(0xFF448AFF), Color comparedColor = const Color(0xFFFF6D00), Color containerColor = const Color(0xFFFFB300), Color? compareLineColor})
const

Properties

comparedColor Color
Outline/fill for the second target in compare mode.
final
compareLineColor Color?
Dashed measurement line between the selected and compared targets. Falls back to Colors.green.shade700 when null.
final
containerColor Color
Padding-highlight wash drawn when the selection has a parent container.
final
hashCode int
The hash code for this object.
no setteroverride
hoveredColor Color
Outline for the mouse/pointer hover target (dashed).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color
Outline/fill for the primary (tap-selected) target.
final

Methods

copyWith({Color? selectedColor, Color? hoveredColor, Color? comparedColor, Color? containerColor, Color? compareLineColor}) InspectorTheme
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

defaults → const InspectorTheme