Class TextSelectionOverlay
Inheritance
System.Object
TextSelectionOverlay
Syntax
public class TextSelectionOverlay
Constructors
TextSelectionOverlay(TextEditingValue, BuildContext, Widget, LayerLink, RenderEditable, TextSelectionControls, TextSelectionDelegate, Nullable<DragStartBehavior>)
Declaration
public TextSelectionOverlay(TextEditingValue value = null, BuildContext context = null, Widget debugRequiredFor = null, LayerLink layerLink = null, RenderEditable renderObject = null, TextSelectionControls selectionControls = null, TextSelectionDelegate selectionDelegate = null, DragStartBehavior? dragStartBehavior = default(DragStartBehavior? ))
Parameters
Fields
_fadeDuration
Declaration
public static TimeSpan _fadeDuration
Field Value
Type |
Description |
System.TimeSpan |
|
context
Declaration
public readonly BuildContext context
Field Value
debugRequiredFor
Declaration
public readonly Widget debugRequiredFor
Field Value
dragStartBehavior
Declaration
public readonly DragStartBehavior? dragStartBehavior
Field Value
layerLink
Declaration
public readonly LayerLink layerLink
Field Value
renderObject
Declaration
public readonly RenderEditable renderObject
Field Value
selectionControls
Declaration
public readonly TextSelectionControls selectionControls
Field Value
selectionDelegate
Declaration
public readonly TextSelectionDelegate selectionDelegate
Field Value
Properties
handlesAreVisible
Declaration
public bool handlesAreVisible { get; }
Property Value
Type |
Description |
System.Boolean |
|
toolbarIsVisible
Declaration
public bool toolbarIsVisible { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
dispose()
Declaration
hide()
Declaration
showHandles()
Declaration
public void showHandles()
showToolbar()
Declaration
public void showToolbar()
update(TextEditingValue)
Declaration
public void update(TextEditingValue newValue)
Parameters
updateForScroll()
Declaration
public void updateForScroll()