Position class
- Available extensions
Constructors
- Position({required Path path, int offset = 0})
-
Position.fromJson(Map<
String, dynamic> json) -
factory
- Position.invalid()
Properties
Methods
-
copyWith(
{Path? path, int? offset}) → Position -
moveHorizontal(
EditorState editorState, {bool forward = true, SelectionRange selectionRange = SelectionRange.character}) → Position? -
Available on Position, provided by the PositionExtension extension
-
moveVertical(
EditorState editorState, {bool upwards = true}) → Position? -
Available on Position, provided by the PositionExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override