AudioCardOptions constructor

AudioCardOptions(
  1. {ControlMediaType controlUserMedia = controlMedia,
  2. required BoxDecoration customStyle,
  3. required String name,
  4. Color barColor = const Color.fromARGB(255, 240, 35, 35),
  5. Color textColor = Colors.white,
  6. String? imageSource,
  7. bool roundedImage = false,
  8. BoxDecoration? imageStyle,
  9. bool showControls = true,
  10. bool showInfo = true,
  11. Widget? videoInfoComponent,
  12. Widget? videoControlsComponent,
  13. String controlsPosition = 'topLeft',
  14. String infoPosition = 'topRight',
  15. required Participant participant,
  16. Color backgroundColor = Colors.white,
  17. required AudioCardParameters parameters}
)

Implementation

AudioCardOptions({
  this.controlUserMedia = controlMedia,
  required this.customStyle,
  required this.name,
  this.barColor = const Color.fromARGB(255, 240, 35, 35),
  this.textColor = Colors.white,
  this.imageSource,
  this.roundedImage = false,
  this.imageStyle,
  this.showControls = true,
  this.showInfo = true,
  this.videoInfoComponent,
  this.videoControlsComponent,
  this.controlsPosition = 'topLeft',
  this.infoPosition = 'topRight',
  required this.participant,
  this.backgroundColor = Colors.white,
  required this.parameters,
});