MyFlatMainBtn constructor

MyFlatMainBtn(
  1. String title,
  2. Function onTap, {
  3. num fontSize = 14.0,
  4. double? width,
  5. Color color = UIData.primaryColor,
  6. Color? titleColor,
  7. double height = 40.0,
  8. FontWeight? weight,
  9. double radius = 4.0,
  10. Color? borderColor,
  11. bool touchable = true,
  12. Color bodyColor = UIData.pureWhite,
  13. num paddingH = 28,
})

Implementation

MyFlatMainBtn(this.title, this.onTap,
    {this.fontSize = 14.0,
    this.width,
    this.color = UIData.primaryColor,
    this.titleColor,
    this.height = 40.0,
    this.weight,
    this.radius = 4.0,
    this.borderColor,
    this.touchable = true,
    this.bodyColor = UIData.pureWhite,
    this.paddingH = 28});