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}
)
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,
});