SettingBarItem constructor

const SettingBarItem({
  1. Widget? icon,
  2. String? text,
  3. String? secondary,
  4. String? mark,
  5. Icon? markIcon,
  6. Widget? markWidget,
  7. EdgeInsetsGeometry markWidgetPadding = EdgeInsets.zero,
  8. Color? textColor,
  9. double? textSize,
  10. bool? textBold,
  11. Color? secondaryColor,
  12. double? secondarySize,
  13. bool? secondaryBold,
  14. Alignment secondaryAlignment = Alignment.centerLeft,
  15. SecondaryDirection secondaryDirection = SecondaryDirection.right,
  16. EdgeInsets? secondaryPadding,
  17. Color? markColor,
  18. double? markSize,
  19. bool? markBold,
  20. String? tag,
  21. dynamic extra,
  22. double? height,
  23. bool visible = true,
  24. BorderRadiusGeometry? borderRadius,
  25. bool enable = true,
  26. dynamic buildStackList(
    1. List<Widget> stacks
    )?,
})

Implementation

const SettingBarItem({
  this.icon,
  this.text,
  this.secondary,
  this.mark,
  this.markIcon,
  this.markWidget,
  this.markWidgetPadding = EdgeInsets.zero,
  this.textColor,
  this.textSize,
  this.textBold,
  this.secondaryColor,
  this.secondarySize,
  this.secondaryBold,
  this.secondaryAlignment = Alignment.centerLeft,
  this.secondaryDirection = SecondaryDirection.right,
  this.secondaryPadding,
  this.markColor,
  this.markSize,
  this.markBold,
  this.tag,
  this.extra,
  this.height,
  this.visible = true,
  this.borderRadius,
  this.enable = true,
  this.buildStackList,
});