AddTextAttributionsCommand class
Applies the given attributions
to the given documentSelection
.
- Implemented types
Constructors
-
AddTextAttributionsCommand({required DocumentSelection documentSelection, required Set<
Attribution> attributions})
Properties
-
attributions
→ Set<
Attribution> -
final
- documentSelection → DocumentSelection
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
Document document, DocumentEditorTransaction transaction) → void -
Executes this command against the given
document
, with changes applied to the giventransaction
.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