DraggableTextOverlay constructor
const
DraggableTextOverlay({
- Key? key,
- required VideoTextOverlay textOverlay,
- required Size parentSize,
- required dynamic onUpdatePosition(),
- required dynamic onUpdateSize(
- double scale
- required dynamic onUpdateRotation(
- double scale
- bool isSelected = false,
- double pixelScale = 1.0,
- VoidCallback? onTap,
- VoidCallback? onDelete,
- VoidCallback? onEdit,
- 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,
});