Button constructor

Button({
  1. required String text,
  2. required dynamic onPressed()?,
  3. double minWidth = 0,
  4. Color? color,
})

Implementation

Button({
  required this.text,
  required this.onPressed,
  this.minWidth = 0,
  this.color,
});