CustomDialog constructor

const CustomDialog({
  1. Key? key,
  2. required VoidCallback onClose,
  3. required dynamic onConfirm(
    1. String,
    2. String
    ),
})

Implementation

const CustomDialog({Key? key, required this.onClose, required this.onConfirm})
    : super(key: key);