TFormBuilder.tabs constructor

const TFormBuilder.tabs({
  1. Key? key,
  2. required List<TFormTab> tabs,
  3. TFormType? formType,
  4. Axis tabAxis = Axis.horizontal,
  5. TTabController? tabController,
  6. dynamic initialTabValue,
  7. ValueChanged? onTabChanged,
  8. double? tabWidth,
  9. bool scrollableTabs = false,
  10. bool showTabNavigationButtons = true,
  11. bool tabInline = false,
  12. bool tabWrap = false,
  13. EdgeInsets? tabPadding,
  14. double tabSpacing = 2,
  15. double? tabIndicatorWidth,
  16. Color? tabSelectedColor,
  17. Color? tabUnselectedColor,
  18. Color? tabIndicatorColor,
  19. Color? tabBorderColor,
  20. Widget tabBuilder(
    1. BuildContext,
    2. TTab,
    3. bool,
    4. VoidCallback? ,
    )?,
  21. double gapX = 16.0,
  22. double gapY = 26.0,
  23. VoidCallback? onValueChanged,
  24. IconData? icon,
  25. String? label,
  26. String? description,
  27. bool initiallyExpanded = false,
  28. Widget? footer,
})

Creates a form builder with tabs.

Implementation

const TFormBuilder.tabs({
  super.key,
  required List<TFormTab> this.tabs,
  this.formType,
  this.tabAxis = Axis.horizontal,
  this.tabController,
  this.initialTabValue,
  this.onTabChanged,
  this.tabWidth,
  this.scrollableTabs = false,
  this.showTabNavigationButtons = true,
  this.tabInline = false,
  this.tabWrap = false,
  this.tabPadding,
  this.tabSpacing = 2,
  this.tabIndicatorWidth,
  this.tabSelectedColor,
  this.tabUnselectedColor,
  this.tabIndicatorColor,
  this.tabBorderColor,
  this.tabBuilder,
  this.gapX = 16.0,
  this.gapY = 26.0,
  this.onValueChanged,
  this.icon,
  this.label,
  this.description,
  this.initiallyExpanded = false,
  this.footer,
}) : input = null,
     fields = null;