TFormBuilder.verticalTabs constructor

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

Creates a form builder with vertical tabs.

Implementation

const TFormBuilder.verticalTabs({
  super.key,
  required List<TFormTab> this.tabs,
  this.formType,
  this.tabController,
  this.initialTabValue,
  this.onTabChanged,
  this.tabWidth,
  this.scrollableTabs = false,
  this.showTabNavigationButtons = true,
  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,
     tabAxis = Axis.vertical,
     tabInline = false,
     tabWrap = false;