ExtendedTextSelectionState class
- Inheritance
-
- Object
- State<
ExtendedTextSelection> - ExtendedTextSelectionState
- Implemented types
Constructors
Properties
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- copyEnabled → bool
-
Whether copy is enabled.
no setteroverride
- currentAutofillScope → AutofillScope?
-
The AutofillScope this TextInputClient belongs to, if any.
no setteroverride
- currentTextEditingValue → TextEditingValue?
-
The current state of the TextEditingValue held by this client.
no setteroverride
- cutEnabled → bool
-
Whether cut is enabled.
no setteroverride
- forcePressEnabled ↔ bool
-
Whether the textfield should respond to force presses.
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveTextInputEnabled → bool
-
Whether Live Text input is enabled.
no setterinherited
- lookUpEnabled → bool
-
Whether look up is enabled.
no setterinherited
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- pasteEnabled → bool
-
Whether paste is enabled.
no setteroverride
- renderEditable → ExtendedTextSelectionRenderObject
-
GlobalKey to the EditableText for which the
ExtendedTextSelectionGestureDetectorBuilder will build a TextSelectionGestureDetector.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchWebEnabled → bool
-
Whether search web is enabled.
no setterinherited
- selectAllEnabled → bool
-
Whether select all is enabled.
no setteroverride
- selectionEnabled → bool
-
Whether the user may select text in the textfield.
no setteroverride
-
Whether share is enabled.
no setterinherited
- textEditingValue ↔ TextEditingValue
-
Gets the current text input.
getter/setter pairoverride-getter
- textInputConfiguration → TextInputConfiguration
-
no setter
- widget → ExtendedTextSelection
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
bringIntoView(
TextPosition position) → void -
Brings the provided TextPosition into the visible area of the text
input.
override
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
clearSelection(
) → void - clear selection if it has.
-
connectionClosed(
) → void -
Platform notified framework of closed connection.
override
-
containsPosition(
Offset position) → bool - hittest
-
copySelection(
SelectionChangedCause cause) → void -
Copy current selection to Clipboard.
override
-
cutSelection(
SelectionChangedCause cause) → void -
Cut current selection to Clipboard.
override
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didChangeInputControl(
TextInputControl? oldControl, TextInputControl? newControl) → void -
The framework calls this method to notify that the text input control has
been changed.
inherited
-
didUpdateWidget(
covariant ExtendedTextSelection oldWidget) → void -
Called whenever the widget configuration changes.
override
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
override
-
hideToolbar(
[bool hideHandles = true]) → void -
Hides the text selection toolbar.
override
-
initState(
) → void -
Called when this object is inserted into the tree.
override
-
insertContent(
KeyboardInsertedContent content) → void -
Notify client about new content insertion from Android keyboard.
inherited
-
insertTextPlaceholder(
Size size) → void -
Requests that the client add a text placeholder to reserve visual space
in the text.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pasteText(
SelectionChangedCause cause) → Future< void> -
override
-
performAction(
TextInputAction action) → void -
Requests that this client perform the given action.
override
-
performPrivateCommand(
String action, Map< String, dynamic> data) → void -
Request from the input method that this client perform the given private
command.
override
-
performSelector(
String selectorName) → void -
Performs the specified MacOS-specific selector from the
NSStandardKeyBindingResponding
protocol or user-specified selector fromDefaultKeyBinding.Dict
.inherited -
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
removeTextPlaceholder(
) → void -
Requests that the client remove the text placeholder.
override
-
requestKeyboard(
) → void - Express interest in interacting with the keyboard.
-
selectAll(
SelectionChangedCause cause) → void -
Select the entire text value.
override
-
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
showAutocorrectionPromptRect(
int start, int end) → void -
Requests that this client display a prompt rectangle for the given text range,
to indicate the range of text that will be changed by a pending autocorrection.
override
-
showToolbar(
) → bool -
Shows the selection toolbar at the location of the current cursor.
override
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toggleToolbar(
) → void - Toggles the visibility of the toolbar.
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
updateEditingValue(
TextEditingValue value) → void -
Requests that this client update its editing state to the given value.
override
-
updateFloatingCursor(
RawFloatingCursorPoint point) → void -
Updates the floating cursor position and state.
override
-
userUpdateTextEditingValue(
TextEditingValue value, SelectionChangedCause cause) → void -
Indicates that the user has requested the delegate to replace its current
text editing state with
value
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited