ZegoToggleMicrophoneButton constructor
const
ZegoToggleMicrophoneButton({
- Key? key,
- ButtonIcon? normalIcon,
- ButtonIcon? offIcon,
- void onPressed(
- bool isON
- bool defaultOn = true,
- Size? iconSize,
- Size? buttonSize,
- 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);