ZegoSwitchAudioOutputButton constructor
const
ZegoSwitchAudioOutputButton({
- Key? key,
- ButtonIcon? speakerIcon,
- ButtonIcon? headphoneIcon,
- ButtonIcon? bluetoothIcon,
- void onPressed(
- bool isON
- bool defaultUseSpeaker = false,
- Size? iconSize,
- Size? buttonSize,
Implementation
const ZegoSwitchAudioOutputButton({
Key? key,
this.speakerIcon,
this.headphoneIcon,
this.bluetoothIcon,
this.onPressed,
this.defaultUseSpeaker = false,
this.iconSize,
this.buttonSize,
}) : super(key: key);