Class TextEditingValue
Inheritance
System.Object
TextEditingValue
Syntax
public class TextEditingValue : IEquatable<TextEditingValue>
Constructors
Declaration
public TextEditingValue(string text = "", TextSelection selection = null, TextRange composing = null)
Parameters
Fields
composing
Declaration
public readonly TextRange composing
Field Value
empty
Declaration
public static readonly TextEditingValue empty
Field Value
selection
Declaration
public readonly TextSelection selection
Field Value
text
Declaration
public readonly string text
Field Value
Type |
Description |
System.String |
|
Methods
clearCompose()
Declaration
public TextEditingValue clearCompose()
Returns
compose(String)
Declaration
public TextEditingValue compose(string composeText)
Parameters
Type |
Name |
Description |
System.String |
composeText |
|
Returns
Declaration
public TextEditingValue copyWith(string text = null, TextSelection selection = null, TextRange composing = null)
Parameters
Returns
deleteSelection(Boolean)
Declaration
public TextEditingValue deleteSelection(bool backDelete = true)
Parameters
Type |
Name |
Description |
System.Boolean |
backDelete |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Equals(TextEditingValue)
Declaration
public bool Equals(TextEditingValue other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
extendLeft()
Declaration
public TextEditingValue extendLeft()
Returns
extendRight()
Declaration
public TextEditingValue extendRight()
Returns
fromJson(JSONObject)
Declaration
public static TextEditingValue fromJson(JSONObject json)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
insert(String)
Declaration
public TextEditingValue insert(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
moveExtent(Int32)
Declaration
public TextEditingValue moveExtent(int move)
Parameters
Type |
Name |
Description |
System.Int32 |
move |
|
Returns
moveLeft()
Declaration
public TextEditingValue moveLeft()
Returns
moveRight()
Declaration
public TextEditingValue moveRight()
Returns
moveSelection(Int32)
Declaration
public TextEditingValue moveSelection(int move)
Parameters
Type |
Name |
Description |
System.Int32 |
move |
|
Returns
toJson()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Equality(TextEditingValue, TextEditingValue)
Declaration
public static bool operator ==(TextEditingValue left, TextEditingValue right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(TextEditingValue, TextEditingValue)
Declaration
public static bool operator !=(TextEditingValue left, TextEditingValue right)
Parameters
Returns
Type |
Description |
System.Boolean |
|