getHandleAnchor method

  1. @override
Offset getHandleAnchor(
  1. TextSelectionHandleType type,
  2. double textLineHeight, [
  3. double? startGlyphHeight,
  4. double? endGlyphHeight,
])
override

Get the anchor point of the handle relative to itself. The anchor point is the point that is aligned with a specific point in the text. A handle often visually "points to" that location.

Implementation

@override
Offset getHandleAnchor(
  TextSelectionHandleType type,
  double textLineHeight, [
  double? startGlyphHeight,
  double? endGlyphHeight,
]) =>
    controls.getHandleAnchor(
      type,
      textLineHeight,
      startGlyphHeight,
      endGlyphHeight,
    );