DraggableItemWidget constructor
DraggableItemWidget({
- Key? key,
- required Widget child,
- required Color borderColor,
- required Color iconColor,
- required bool showDone,
- required bool showClose,
- required bool showFlip,
- required bool showStack,
- required bool showLock,
- required bool showAllBorders,
- required bool shouldMove,
- required bool shouldRotate,
- required bool shouldScale,
- required double minScale,
- required double maxScale,
- required dynamic onBorder(
- Key?
- required dynamic onDelete(
- Key?
- required dynamic onLayer(
- Key?
- Matrix4? initMatrix,
- bool? isFlipped,
- String? pathSticker,
- String? paramStickerID,
- void onTapSticker(
- String ID
- void onScaleStickerStart(
- String ID
- void onActionAfterDone(
- String ID
- void onActionAfterDelete(
- String ID
- void onTapOutsideSticker(
- String ID
- required List<
double> defaultMatrix, - double? borderRadius,
- required ValueNotifier<
Matrix4> notifier,
Implementation
DraggableItemWidget(
{super.key,
required this.child,
required this.borderColor,
required this.iconColor,
required this.showDone,
required this.showClose,
required this.showFlip,
required this.showStack,
required this.showLock,
required this.showAllBorders,
required this.shouldMove,
required this.shouldRotate,
required this.shouldScale,
required this.minScale,
required this.maxScale,
required this.onBorder,
required this.onDelete,
required this.onLayer,
this.initMatrix,
this.isFlipped,
this.pathSticker,
this.paramStickerID,
this.onTapSticker,
this.onScaleStickerStart,
this.onActionAfterDone,
this.onActionAfterDelete,
this.onTapOutsideSticker,
required this.defaultMatrix,
this.borderRadius,
required this.notifier});