AlphaStickerController class

Inheritance

Constructors

AlphaStickerController({Color borderColor = Colors.blue, Color iconColor = Colors.white, bool showDone = true, bool showClose = true, bool showFlip = true, bool showStack = true, bool showLock = true, bool showAllBorders = true, bool shouldMove = true, bool shouldRotate = true, bool shouldScale = true, double minScale = 0.5, double maxScale = 4, void onTapSticker(String ID)?, void onScaleStickerStart(String ID)?, void onActionAfterDone(String ID)?, void onActionAfterDelete(String ID)?, void onTapOutsideSticker(String ID)?, List<double>? defaultMatrix, double? borderRadius})

Properties

borderColor Color
getter/setter pair
borderRadius double?
getter/setter pair
defaultMatrix List<double>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
iconColor Color
getter/setter pair
maxScale double
getter/setter pair
minScale double
getter/setter pair
onActionAfterDelete ↔ void Function(String ID)?
getter/setter pair
onActionAfterDone ↔ void Function(String ID)?
getter/setter pair
onScaleStickerStart ↔ void Function(String ID)?
getter/setter pair
onTapOutsideSticker ↔ void Function(String ID)?
getter/setter pair
onTapSticker ↔ void Function(String ID)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIndex IndexStream<int>
getter/setter pair
shouldMove bool
getter/setter pair
shouldRotate bool
getter/setter pair
shouldScale bool
getter/setter pair
showAllBorders bool
getter/setter pair
showClose bool
getter/setter pair
showDone bool
getter/setter pair
showFlip bool
getter/setter pair
showLock bool
getter/setter pair
showStack bool
getter/setter pair
widgets List<DraggableItemWidget>
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addWidget(Widget widget, {Matrix4? matrix4, bool? isFlipped, String? pathSticker, String? stickerID}) → void
clearAllBorders() → void
deleteAllSticker() → void
deleteStickerAtIndex(int index) → void
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
getAllStickerMatrix() List<List<double>>
getStickerMatrixAtIndex(int index) List<double>
getWidgetList() List<DraggableItemWidget>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
saveAsUint8List() Future<Uint8List?>
toString() String
A string representation of this object.
inherited
updateStickerAtIndex(int index, DraggableItemWidget updateValue) → void
updateStickerMatrixAtIndex(int index, List<double> matrixStorage) → void

Operators

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