MenuSetting constructor

MenuSetting(
  1. dynamic iconPath,
  2. dynamic title,
  3. dynamic onTap(), {
  4. dynamic hasDivider = true,
  5. dynamic rightBtn,
  6. Color? titleColor,
  7. Widget? rightText,
  8. double paddingV = 14.0,
  9. double? height,
  10. Widget? action1,
  11. num fontSize = 15.0,
  12. num leadingSpace = 15,
})

Implementation

MenuSetting(this.iconPath, this.title, this.onTap,
    {this.hasDivider = true,
    this.rightBtn,
    this.titleColor,
    this.rightText,
    this.paddingV = 14.0,
    this.height,
    this.action1,
    this.fontSize = 15.0,
    this.leadingSpace = 15});