CommonButton constructor

const CommonButton(
  1. String title,
  2. dynamic onTap(), {
  3. double? border,
  4. Color? color,
  5. double? height,
  6. double? width,
  7. bool removePadding = false,
  8. double? fontSize,
  9. Color? textColor,
  10. Widget? leading,
})

Implementation

const CommonButton(
  this.title,
  this.onTap, {
  this.border,
  this.color,
  this.height,
  this.width,
  this.removePadding = false,
  this.fontSize,
  this.textColor,
  this.leading,
});