BlockSelectionContext class
Context passed to SelectionRenderer.buildBlockSelectionHighlight for painting block-level selection indicators.
Constructors
- BlockSelectionContext({required Node node, required Rect rect, required Color color, EdgeInsets? margin})
-
const
Properties
- color → Color
-
Block selection color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets?
-
Optional margin to inset the highlight from block edges,
resolved from the block component builder configuration.
final
- node → Node
-
The document node being selected at block level.
final
- rect → Rect
-
Pre-measured block rectangle in local coordinates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited