Sticker class

Constructors

Sticker.new({String? stickerId, required String stickerName, required Image image, Offset offset = Offset.zero, double scale = 1.0, double rotation = 0, List<BrushPath>? brushPaths, double width = 100, double height = 100})

Properties

brushPaths List<BrushPath>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
history List<Sticker>
getter/setter pair
historyBrushPaths List<List<BrushPath>>
getter/setter pair
image Image
getter/setter pair
offset Offset
getter/setter pair
popBrushPaths List<List<BrushPath>>
getter/setter pair
rotation double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
getter/setter pair
stickerId String
getter/setter pair
stickerName String
getter/setter pair
width double
getter/setter pair

Methods

addBrushPath(BrushPath path) → void
changeName(String name) → void
clearBrushPath() → void
clearBrushPathsSnapshot() → void
clearHistory() → void
clone() Sticker
convertToStickerCoordinates(Offset globalOffset) Offset
copy(String id, {String? name, Offset translateOffset = const Offset(0, 0)}) Sticker
nextBrushPathSnapshot() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popBrushPathSnapshot() → void
toString() String
A string representation of this object.
inherited

Operators

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