DraggableTextOverlay constructor

const DraggableTextOverlay({
  1. Key? key,
  2. required VideoTextOverlay textOverlay,
  3. required Size parentSize,
  4. required dynamic onUpdatePosition(
    1. double x,
    2. double y
    ),
  5. required dynamic onUpdateSize(
    1. double scale
    ),
  6. required dynamic onUpdateRotation(
    1. double scale
    ),
  7. bool isSelected = false,
  8. double pixelScale = 1.0,
  9. VoidCallback? onTap,
  10. VoidCallback? onDelete,
  11. VoidCallback? onEdit,
  12. VoidCallback? onInteractionEnd,
})

Implementation

const DraggableTextOverlay({
  super.key,
  required this.textOverlay,
  required this.parentSize,
  required this.onUpdatePosition,
  required this.onUpdateSize,
  required this.onUpdateRotation,
  this.isSelected = false,
  this.pixelScale = 1.0,
  this.onTap,
  this.onDelete,
  this.onEdit,
  this.onInteractionEnd,
});