CustomButton constructor

CustomButton({
  1. required Widget child,
  2. double? height = 50,
  3. required Function onTap,
  4. EdgeInsets? padding,
  5. double? width = 50,
  6. required Color bgColor,
  7. double? radius,
  8. Border? border,
})

Implementation

CustomButton({
  required this.child,
  this.height = 50,
  required this.onTap,
  this.padding,
  this.width = 50,
  required this.bgColor,
  this.radius,
  this.border,
});