ZegoLeaveButton constructor

const ZegoLeaveButton({
  1. Key? key,
  2. Future<bool?> onLeaveConfirmation(
    1. BuildContext context
    )?,
  3. VoidCallback? onPress,
  4. ButtonIcon? icon,
  5. Size? iconSize,
  6. Size? buttonSize,
  7. ValueNotifier<bool>? clickableNotifier,
})

Implementation

const ZegoLeaveButton({
  Key? key,
  this.onLeaveConfirmation,
  this.onPress,
  this.icon,
  this.iconSize,
  this.buttonSize,
  this.clickableNotifier,
}) : super(key: key);