TextBoxAction class

The TextBoxAction represents an action performed on a text box (add/remove) to support undo/redo functionality.

Inheritance

Constructors

TextBoxAction.new(TextBox textBox, {required bool isAdd})

Properties

hashCode int
The hash code for this object.
no setterinherited
isAdd bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textBox TextBox
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintOnCanvas(Canvas canvas) → void
Paints the content on the given canvas.
override
toString() String
A string representation of this object.
inherited
update(Offset newPoint) → void
Updates the content with a new point.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited