BoundingBoxController constructor

BoundingBoxController({
  1. required Offset position,
  2. required Size size,
  3. double rotation = 0,
  4. bool enable = false,
  5. bool? enableRotate = true,
  6. bool? enableMove = true,
  7. double actionSize = defaultActionSize,
  8. Color? handleResizeBackgroundColor,
  9. Color? handleResizeStrokeColor,
  10. Color? handleRotateBackgroundColor,
  11. Color? handleRotateStrokeColor,
  12. Color? handleMoveBackgroundColor,
  13. Color? handleMoveStrokeColor,
  14. Color? strokeColor,
  15. double? strokeWidth,
  16. double? handleResizeStrokeWidth,
  17. double? handleRotateStrokeWidth,
  18. double? handleMoveStrokeWidth,
  19. Widget? rotateIcon,
  20. Widget? moveIcon,
  21. Widget? customHandleResize,
  22. Widget? customHandleRotate,
  23. Widget? customHandleMove,
  24. double? handlePosition,
  25. BoxDecoration? customDecoration,
})

Implementation

BoundingBoxController({
  required this.position,
  required this.size,
  this.rotation = 0,
  this.enable = false,
  this.enableRotate = true,
  this.enableMove = true,
  this.actionSize = defaultActionSize,
  this.handleResizeBackgroundColor,
  this.handleResizeStrokeColor,
  this.handleRotateBackgroundColor,
  this.handleRotateStrokeColor,
  this.handleMoveBackgroundColor,
  this.handleMoveStrokeColor,
  this.strokeColor,
  this.strokeWidth,
  this.handleResizeStrokeWidth,
  this.handleRotateStrokeWidth,
  this.handleMoveStrokeWidth,
  this.rotateIcon,
  this.moveIcon,
  this.customHandleResize,
  this.customHandleRotate,
  this.customHandleMove,
  this.handlePosition,
  this.customDecoration,
});