UpdateSelectionIntent class

An Intent that represents a user interaction that attempts to change the selection in an input field.

Inheritance

Constructors

UpdateSelectionIntent(TextEditingValue currentTextEditingValue, TextSelection newSelection, SelectionChangedCause cause)
Creates an UpdateSelectionIntent.
const

Properties

cause SelectionChangedCause
The SelectionChangedCause that triggered the intent.
final
currentTextEditingValue TextEditingValue
The TextEditingValue that this Intent's action should perform on.
final
hashCode int
The hash code for this object.
no setterinherited
newSelection TextSelection
The new TextSelection the input field should adopt.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
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

Operators

operator ==(Object other) bool
The equality operator.
inherited