InspectorSelection class Null safety

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
hashCode int
The hash code for this object.
read-onlyinherited
index int
Index within the list of candidates that is currently selected.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited