getSelectionInRange method
Returns the Selection surrounded by start and end in current widget.
start
and end
are the offsets under the global coordinate system.
Implementation
@override
Selection getSelectionInRange(Offset start, Offset end) => Selection.single(
path: widget.node.path,
startOffset: 0,
endOffset: 1,
);