InspectorSelection class

Mutable selection state of the inspector.

Constructors

InspectorSelection()

Properties

active bool
Whether the selected render object is attached to the tree or has gone out of scope.
read-only
candidates List<RenderObject>
Render objects that are candidates to be selected. [...]
read / write
current RenderObject
Selected render object typically from the candidates list. [...]
read / write
currentElement Element
Selected Element consistent with the current selected RenderObject. [...]
read / write
index int
Index within the list of candidates that is currently selected.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() → void
Set the selection to empty.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited