VideoTextOverlay constructor
VideoTextOverlay({
- required String id,
- required String text,
- double x = 0.5,
- double y = 0.5,
- double fontSize = 64,
- Color color = VideoEditorColors.textPrimary,
- Duration startTime = Duration.zero,
- Duration? endTime,
- double rotation = 0.0,
- double scale = 1.0,
- TextOverlayStyle style = TextOverlayStyle.outline,
- Color backgroundColor = VideoEditorColors.textLabelBackground,
- bool bold = true,
- String? stickerPath,
Implementation
VideoTextOverlay({
required this.id,
required this.text,
this.x = 0.5,
this.y = 0.5,
this.fontSize = 64,
this.color = VideoEditorColors.textPrimary,
this.startTime = Duration.zero,
this.endTime,
this.rotation = 0.0,
this.scale = 1.0,
this.style = TextOverlayStyle.outline,
this.backgroundColor = VideoEditorColors.textLabelBackground,
this.bold = true,
this.stickerPath,
});