ZegoSwitchCameraButton constructor

const ZegoSwitchCameraButton({
  1. Key? key,
  2. void onPressed(
    1. bool isFrontFacing
    )?,
  3. ButtonIcon? icon,
  4. bool defaultUseFrontFacingCamera = true,
  5. Size? iconSize,
  6. Size? buttonSize,
})

Implementation

const ZegoSwitchCameraButton({
  Key? key,
  this.onPressed,
  this.icon,
  this.defaultUseFrontFacingCamera = true,
  this.iconSize,
  this.buttonSize,
}) : super(key: key);