OnSurroundingTextChangedSurroundingInfo class

Constructors

OnSurroundingTextChangedSurroundingInfo({required String text, required int focus, required int anchor, required int offset})
OnSurroundingTextChangedSurroundingInfo.fromJS(OnSurroundingTextChangedSurroundingInfo _wrapped)

Properties

anchor int
The beginning position of the selection. This value indicates caret position if there is no selection.
getter/setter pair
focus int
The ending position of the selection. This value indicates caret position if there is no selection.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
offset int
The offset position of text. Since text only includes a subset of text around the cursor, offset indicates the absolute position of the first character of text.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text around the cursor. This is only a subset of all text in the input field.
getter/setter pair
toJS → OnSurroundingTextChangedSurroundingInfo
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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