ZegoSwitchAudioOutputButton constructor

const ZegoSwitchAudioOutputButton({
  1. Key? key,
  2. ButtonIcon? speakerIcon,
  3. ButtonIcon? headphoneIcon,
  4. ButtonIcon? bluetoothIcon,
  5. void onPressed(
    1. bool isON
    )?,
  6. bool defaultUseSpeaker = false,
  7. Size? iconSize,
  8. 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);