ZegoToggleCameraButton constructor

const ZegoToggleCameraButton({
  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,
})

Implementation

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