PopUp constructor

const PopUp({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onPressed,
})

Implementation

const PopUp({super.key, required this.child, this.onPressed});