DialogAction constructor

const DialogAction({
  1. Key? key,
  2. required String label,
  3. required void onPressed(
    1. BuildContext
    ),
})

Represents an action that can be taken in a dialog.

Implementation

const DialogAction({super.key, required this.label, required this.onPressed});