TeleprompterWidget constructor

const TeleprompterWidget({
  1. required String text,
  2. String title = 'Script name',
  3. String savedToGallery = 'Video recorded saved to your gallery',
  4. String errorSavingToGallery = 'Error saving video to your gallery',
  5. Color defaultTextColor = Colors.greenAccent,
  6. Widget startRecordingButton = const Icon(Icons.fiber_manual_record_sharp, color: Colors.red),
  7. Widget stopRecordingButton = const Icon(Icons.stop, color: Colors.red),
  8. ShapeBorder? floatingButtonShape,
  9. double defaultOpacity = 0.7,
  10. 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,
});