PopupScreen constructor Null safety

PopupScreen(
  1. {Key? key,
  2. Widget? child,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. required PopupType type,
  5. Function? onTapCancel,
  6. Function? onTapNormal,
  7. Function? onTapYes,
  8. Function? onTapOutside,
  9. Function? onTapNo,
  10. Function? onClose,
  11. dynamic data}
)

Implementation

PopupScreen({
  Key? key,
  this.child,
  this.padding = EdgeInsets.zero,
  required this.type,
  this.onTapCancel,
  this.onTapNormal,
  this.onTapYes,
  this.onTapOutside,
  this.onTapNo,
  this.onClose,
  this.data,
}) : super(key: key);