Button constructor

const Button({
  1. required Key id,
  2. required String label,
  3. void onPressed()?,
  4. Style? style,
  5. Style? focusedStyle,
})

Implementation

const Button({
  required this.id,
  required this.label,
  this.onPressed,
  this.style,
  this.focusedStyle,
});