DestructiveDialogAction constructor

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

Represents a destructive action that can be taken in a dialog.

Implementation

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