AudioCardOptions constructor
AudioCardOptions({ - ControlMediaType controlUserMedia = controlMedia,
- required BoxDecoration customStyle,
- required String name,
- Color barColor = const Color.fromARGB(255, 240, 35, 35),
- Color textColor = Colors.white,
- String? imageSource,
- bool roundedImage = false,
- BoxDecoration? imageStyle,
- bool showControls = true,
- bool showInfo = true,
- Widget? videoInfoComponent,
- Widget? videoControlsComponent,
- String controlsPosition = 'topLeft',
- String infoPosition = 'topRight',
- required Participant participant,
- Color backgroundColor = Colors.white,
- required AudioCardParameters parameters,
- AudioCardType? customBuilder,
- EdgeInsetsGeometry? containerPadding,
- EdgeInsetsGeometry? containerMargin,
- AlignmentGeometry? containerAlignment,
- BoxDecoration? overlayDecoration,
- EdgeInsetsGeometry? overlayPadding,
- AudioCardWrapperBuilder? wrapperBuilder,
- AudioCardContainerBuilder? containerBuilder,
- AudioCardInfoBuilder? infoBuilder,
- AudioCardOverlayBuilder? overlayBuilder,
- 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,
});