ZegoToggleMicrophoneButton constructor

const ZegoToggleMicrophoneButton({
  1. Key? key,
  2. ButtonIcon? normalIcon,
  3. ButtonIcon? offIcon,
  4. void onPressed(
    1. bool isON
    )?,
  5. bool defaultOn = true,
  6. Size? iconSize,
  7. Size? buttonSize,
  8. bool muteMode = false,
})

Implementation

const ZegoToggleMicrophoneButton({
  Key? key,
  this.normalIcon,
  this.offIcon,
  this.onPressed,
  this.defaultOn = true,
  this.iconSize,
  this.buttonSize,
  this.muteMode = false,
}) : super(key: key);