CodeLineEditingValue class
The current codes, selection, and composing state for editing a run of text.
Constructors
- CodeLineEditingValue({required CodeLines codeLines, CodeLineSelection selection = const CodeLineSelection.zero(), TextRange composing = TextRange.empty})
-
Creates information for editing a run of codes.
const
- CodeLineEditingValue.empty()
-
const
Properties
- codeLines → CodeLines
-
The current codes being edited.
final
- composing → TextRange
-
The range of text that is still being composed.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isInitial → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection → CodeLineSelection
-
The range of codes that is currently selected.
final
Methods
-
copyWith(
{CodeLines? codeLines, CodeLineSelection? selection, TextRange? composing}) → CodeLineEditingValue -
equals(
Object other) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override