StampStroke class

Inheritance

Constructors

StampStroke.new({required List<Offset> points, Color color = Colors.black, double size = 1, double opacity = 1, required StampType stampType})

Properties

color Color
finalinherited
createdAt DateTime
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isEraser bool
no setterinherited
isLine bool
no setterinherited
isNormal bool
no setterinherited
isStamp bool
no setterinherited
opacity double
finalinherited
points List<Offset>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
finalinherited
stampType StampType
final
strokeType StrokeType
finalinherited

Methods

copyWith({List<Offset>? points, Color? color, double? size, double? opacity, StampType? stampType}) StampStroke
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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