TextSelectionOverlay({InputValue input, @required BuildContext context, Widget debugRequiredFor, RenderEditable renderObject, TextSelectionOverlayChanged onSelectionOverlayChanged, TextSelectionControls selectionControls })

Creates an object that manages overly entries for selection handles.

The context must not be null and must have an Overlay as an ancestor.

Source

TextSelectionOverlay({
  InputValue input,
  @required this.context,
  this.debugRequiredFor,
  this.renderObject,
  this.onSelectionOverlayChanged,
  this.selectionControls,
}): _input = input {
  assert(context != null);
  final OverlayState overlay = Overlay.of(context);
  assert(overlay != null);
  _handleController = new AnimationController(duration: _kFadeDuration, vsync: overlay);
  _toolbarController = new AnimationController(duration: _kFadeDuration, vsync: overlay);
}