EditorTextSelectionOverlay constructor
EditorTextSelectionOverlay(
- TextEditingValue value,
- bool handlesVisible,
- BuildContext context,
- Widget debugRequiredFor,
- LayerLink toolbarLayerLink,
- LayerLink startHandleLayerLink,
- LayerLink endHandleLayerLink,
- RenderEditor? renderObject,
- TextSelectionControls selectionCtrls,
- TextSelectionDelegate selectionDelegate,
- DragStartBehavior dragStartBehavior,
- VoidCallback? onSelectionHandleTapped,
- ClipboardStatusNotifier clipboardStatus,
Implementation
EditorTextSelectionOverlay(
this.value,
this.handlesVisible,
this.context,
this.debugRequiredFor,
this.toolbarLayerLink,
this.startHandleLayerLink,
this.endHandleLayerLink,
this.renderObject,
this.selectionCtrls,
this.selectionDelegate,
this.dragStartBehavior,
this.onSelectionHandleTapped,
this.clipboardStatus,
) {
final overlay = Overlay.of(context, rootOverlay: true)!;
_toolbarController = AnimationController(
duration: const Duration(milliseconds: 150), vsync: overlay);
}