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,
  18. AudioCardType? customBuilder,
  19. EdgeInsetsGeometry? containerPadding,
  20. EdgeInsetsGeometry? containerMargin,
  21. AlignmentGeometry? containerAlignment,
  22. BoxDecoration? overlayDecoration,
  23. EdgeInsetsGeometry? overlayPadding,
  24. AudioCardWrapperBuilder? wrapperBuilder,
  25. AudioCardContainerBuilder? containerBuilder,
  26. AudioCardInfoBuilder? infoBuilder,
  27. AudioCardOverlayBuilder? overlayBuilder,
  28. AudioCardWaveformBuilder? waveformBuilder,
})

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,
  this.customBuilder,
  this.containerPadding,
  this.containerMargin,
  this.containerAlignment,
  this.overlayDecoration,
  this.overlayPadding,
  this.wrapperBuilder,
  this.containerBuilder,
  this.infoBuilder,
  this.overlayBuilder,
  this.waveformBuilder,
});