PrimaryDialogAction constructor

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

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

Implementation

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