DialogAction constructor

const DialogAction({
  1. required String label,
  2. required VoidCallback onAction,
  3. IconData? icon,
  4. bool isPrimary = false,
  5. bool disabled = false,
})

Implementation

const DialogAction({
  required this.label,
  required this.onAction,
  this.icon,
  this.isPrimary = false,
  this.disabled = false,
});