MenuTextSetting constructor

MenuTextSetting(
  1. dynamic title,
  2. dynamic onTap()?, {
  3. bool hasDivider = true,
  4. Widget? rightBtn,
  5. num paddingV = 5.0,
  6. double height = 55.0,
  7. Widget? center,
  8. double titleSize = 15.0,
  9. Widget? rightAction1,
  10. num centerPaddingStart = 10,
  11. Color bgColor = UIData.pureWhite,
  12. bool isTitleRequire = false,
})

Implementation

MenuTextSetting(this.title, this.onTap,
    {this.hasDivider = true,
    this.rightBtn,
    this.paddingV = 5.0,
    this.height = 55.0,
    this.center,
    this.titleSize = 15.0,
    this.rightAction1,
    this.centerPaddingStart = 10,
    this.bgColor = UIData.pureWhite,
    this.isTitleRequire = false});