Button constructor

const Button({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. double? verticalPadding,
  5. double? horizontalPadding,
  6. Color? backgroundColor,
  7. double? border,
  8. Color? borderColor,
  9. double? radius,
  10. Function? onPress,
  11. @required Widget? child,
})

Implementation

const Button({
  Key? key,
  this.width,
  this.height,
  this.verticalPadding,
  this.horizontalPadding,
  this.backgroundColor,
  this.border,
  this.borderColor,
  this.radius,
  this.onPress,
  @required this.child,
}) : super(key: key);