ElevatedButton constructor

ElevatedButton({
  1. required Widget child,
  2. CmdCallback? onPressed,
  3. ButtonSize size = ButtonSize.medium,
  4. EdgeInsets? padding,
  5. bool enabled = true,
  6. bool autofocus = false,
  7. String? focusId,
  8. FocusController? focusController,
  9. Key? key,
})

Implementation

ElevatedButton({
  required this.child,
  this.onPressed,
  this.size = ButtonSize.medium,
  this.padding,
  this.enabled = true,
  this.autofocus = false,
  this.focusId,
  this.focusController,
  super.key,
});