showHandles method

void showHandles()

Implementation

void showHandles() {
  assert(_handles == null);
  _handles = <OverlayEntry>[
    OverlayEntry(
        builder: (context) =>
            _buildHandle(context, _TextSelectionHandlePosition.START)),
    OverlayEntry(
        builder: (context) =>
            _buildHandle(context, _TextSelectionHandlePosition.END)),
  ];

  Overlay.of(context, rootOverlay: true, debugRequiredFor: debugRequiredFor)!
      .insertAll(_handles!);
}