PaintInfo class

PaintInfo keeps track of a single unit of shape, whichever selected.

Constructors

PaintInfo({List<Offset?>? offset, Paint? painter, String? text, PaintMode? mode})
In case of string, it is used to save string value entered.

Properties

hashCode int
The hash code for this object.
no setterinherited
mode PaintMode?
Mode of the paint method.
getter/setter pair
offset List<Offset?>?
Used to save offsets. Two point in case of other shapes and list of points for FreeStyle.
getter/setter pair
painter Paint?
Used to save specific paint utils used for the specific shape.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Used to save text in case of text type.
getter/setter pair

Methods

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