PopupView constructor

const PopupView({
  1. required Popup popup,
  2. VoidCallback? onClose,
  3. Key? key,
})

Creates a PopupView widget to display a Popup with optional onClose callback.

Implementation

const PopupView({required this.popup, this.onClose, super.key});