BlockSelectionHost class abstract

Host interface for BlockSelectionArea to query editor-level state without depending on EditorState.

The editor provides a concrete implementation (e.g. via an InheritedWidget or Provider) that delegates to EditorState.

Constructors

BlockSelectionHost()

Properties

hashCode int
The hash code for this object.
no setterinherited
remoteSelections ValueListenable<List<RemoteSelection>>
Remote collaborative selections.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionNotifier ValueListenable<Selection?>
Selection change notifier.
no setter
selectionRenderer SelectionRenderer?
Custom selection/cursor renderer. Read from the host so it stays current even when the parent widget hasn't rebuilt (e.g. after VimModeController.attach swaps it at runtime).
no setter

Methods

blockSelectionMargin(Node node) EdgeInsets?
Margin to apply around block selection highlights, resolved from the block component builder configuration.
customizeCursor({required Node node, required Selection? selection, required Position position}) CursorAppearance?
Optional cursor appearance customization (vim-style, etc.).
isBlockSelectionMode() bool
Whether the current selection is a block-level selection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectionDragModeValue() → dynamic
Extra selection info value for the drag mode key. Returns null when not available.
toString() String
A string representation of this object.
inherited

Operators

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