DraggableItemWidget constructor

DraggableItemWidget({
  1. Key? key,
  2. required Widget child,
  3. required Color borderColor,
  4. required Color iconColor,
  5. required bool showDone,
  6. required bool showClose,
  7. required bool showFlip,
  8. required bool showStack,
  9. required bool showLock,
  10. required bool showAllBorders,
  11. required bool shouldMove,
  12. required bool shouldRotate,
  13. required bool shouldScale,
  14. required double minScale,
  15. required double maxScale,
  16. required dynamic onBorder(
    1. Key?
    ),
  17. required dynamic onDelete(
    1. Key?
    ),
  18. required dynamic onLayer(
    1. Key?
    ),
  19. Matrix4? initMatrix,
  20. bool? isFlipped,
  21. String? pathSticker,
  22. String? paramStickerID,
  23. void onTapSticker(
    1. String ID
    )?,
  24. void onScaleStickerStart(
    1. String ID
    )?,
  25. void onActionAfterDone(
    1. String ID
    )?,
  26. void onActionAfterDelete(
    1. String ID
    )?,
  27. void onTapOutsideSticker(
    1. String ID
    )?,
  28. required List<double> defaultMatrix,
  29. double? borderRadius,
  30. 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});