TeleprompterWidget constructor
const
TeleprompterWidget({
- required String text,
- String title = 'Script name',
- String savedToGallery = 'Video recorded saved to your gallery',
- String errorSavingToGallery = 'Error saving video to your gallery',
- Color defaultTextColor = Colors.greenAccent,
- Widget startRecordingButton = const Icon(Icons.fiber_manual_record_sharp, color: Colors.red),
- Widget stopRecordingButton = const Icon(Icons.stop, color: Colors.red),
- ShapeBorder? floatingButtonShape,
- double defaultOpacity = 0.7,
- Key? key,
Implementation
const TeleprompterWidget({
required this.text,
this.title = 'Script name',
this.savedToGallery = 'Video recorded saved to your gallery',
this.errorSavingToGallery = 'Error saving video to your gallery',
this.defaultTextColor = Colors.greenAccent,
this.startRecordingButton =
const Icon(Icons.fiber_manual_record_sharp, color: Colors.red),
this.stopRecordingButton = const Icon(Icons.stop, color: Colors.red),
this.floatingButtonShape,
this.defaultOpacity = 0.7,
super.key,
});