DeleteContentCommand class

Inheritance

Constructors

DeleteContentCommand({required DocumentRange documentRange, bool updateSelection = false})

Properties

documentRange DocumentRange
final
hashCode int
The hash code for this object.
no setterinherited
historyBehavior HistoryBehavior
The desired "undo" behavior of this command.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateSelection bool
Whether to change the composer's selection to a collapsed selection at the start of the documentRange (true), or whether to leave the selection unchanged after the deletion (false).
final

Methods

describe() String
override
execute(EditContext context, CommandExecutor executor) → void
Executes this command and logs all changes with the executor.
override
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