Button constructor

const Button({
  1. required Widget child,
  2. required VoidCallback? onPressed,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Color? color,
  6. Color? disabledColor,
  7. BorderRadius? borderRadius,
  8. double? width,
  9. double? height,
  10. double? minWidth,
  11. Decoration? decoration,
  12. Key? key,
})

Implementation

const Button({
  required this.child,
  required this.onPressed,
  this.margin,
  this.padding,
  this.color,
  this.disabledColor,
  this.borderRadius,
  this.width,
  this.height,
  this.minWidth,
  this.decoration,
  Key? key,
}) : super(key: key);