SelectionContainerDelegate class abstract

A delegate to handle SelectionEvents for a SelectionContainer.

This delegate needs to implement SelectionRegistrar to register Selectables in the SelectionContainer subtree.

Implemented types
Implementers

Constructors

SelectionContainerDelegate()

Properties

containerSize Size
Gets the size of the SelectionContainer of this delegate.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSize bool
Whether the SelectionContainer has undergone layout and has a size.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value SelectionGeometry
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
no setterinherited

Methods

add(Selectable selectable) → void
Adds the selectable into the registrar.
inherited
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.
inherited
getSelectedContent() SelectedContent?
Gets the selected content in this object.
inherited
getTransformFrom(Selectable child) Matrix4
Gets the paint transform from the Selectable child to SelectionContainer of this delegate.
getTransformTo(RenderObject? ancestor) Matrix4
Gets the paint transform from the SelectionContainer of this delegate to the ancestor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
inherited
remove(Selectable selectable) → void
Removes the selectable from the registrar.
inherited
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