AppButton constructor

const AppButton({
  1. Key? key,
  2. required dynamic onTap()?,
  3. Color? backgroundColor,
  4. BoxBorder? border,
  5. Widget? child,
  6. num? width,
  7. num? height,
  8. EdgeInsets? padding,
})

Implementation

const AppButton({
  super.key,
  required this.onTap,
  this.backgroundColor,
  this.border,
  this.child,
  this.width,
  this.height,
  this.padding,
});