DialogButton constructor

DialogButton({
  1. required String title,
  2. Color? color,
  3. required dynamic onPressed(),
})

Implementation

DialogButton({
  required this.title,
  this.color,
  required this.onPressed,
});