ZegoToggleCameraButton constructor
const
ZegoToggleCameraButton({
- Key? key,
- ButtonIcon? normalIcon,
- ButtonIcon? offIcon,
- void onPressed(
- bool isON
- bool defaultOn = true,
- Size? iconSize,
- Size? buttonSize,
Implementation
const ZegoToggleCameraButton({
Key? key,
this.normalIcon,
this.offIcon,
this.onPressed,
this.defaultOn = true,
this.iconSize,
this.buttonSize,
}) : super(key: key);