getBaseEndpointForSelection abstract method

TextSelectionPoint getBaseEndpointForSelection(
  1. TextSelection textSelection
)

Returns a list of rects that bound the given selection.

A given selection might have more than one rect if this text painter contains bidirectional text because logically contiguous text might not be visually contiguous.

Valid only after layout. Returns a point for the base selection handle used on touch-oriented devices.

The selection parameter is expected to be in local offsets to this render object's node.

Implementation

// List<TextBox> getBoxesForSelection(TextSelection selection);

/// Returns a point for the base selection handle used on touch-oriented
/// devices.
///
/// The `selection` parameter is expected to be in local offsets to this
/// render object's [node].
TextSelectionPoint getBaseEndpointForSelection(TextSelection textSelection);