ZegoScreenSharingToggleButton constructor

const ZegoScreenSharingToggleButton({
  1. Key? key,
  2. ButtonIcon? iconStartSharing,
  3. ButtonIcon? iconStopSharing,
  4. Size? buttonSize,
  5. Size? iconSize,
  6. void onPressed(
    1. bool isStart
    )?,
})

Implementation

const ZegoScreenSharingToggleButton({
  Key? key,
  this.iconStartSharing,
  this.iconStopSharing,
  this.buttonSize,
  this.iconSize,
  this.onPressed,
}) : super(key: key);