SelectionHandler class Null safety
The abstract interface to handle SelectionEvents.
This interface is extended by Selectable and SelectionContainerDelegate and is typically not use directly.
This class returns a SelectionGeometry as its value, and is responsible to notify its listener when its selection geometry has changed as the result of receiving selection events.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- value → SelectionGeometry
-
The current value of the object. When the value changes, the callbacks
registered with addListener will be invoked.
read-onlyinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object notifies its listeners.
inherited
-
dispatchSelectionEvent(
SelectionEvent event) → SelectionResult - Handles the SelectionEvent sent to this object.
-
getSelectedContent(
) → SelectedContent? - Gets the selected content in this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
pushHandleLayers(
LayerLink? startHandle, LayerLink? endHandle) → void - Marks this handler to be responsible for pushing LeaderLayers for the selection handles.
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited