verticalTabs static method

TFormField verticalTabs({
  1. required List<TFormTab> tabs,
  2. TFormType? formType,
  3. String? label,
  4. String? description,
  5. IconData? icon,
  6. bool initiallyExpanded = false,
  7. TTabController? controller,
  8. dynamic initialValue,
  9. ValueChanged? onTabChanged,
  10. double? tabWidth,
  11. bool scrollable = false,
  12. bool showNavigationButtons = true,
  13. EdgeInsets? tabPadding,
  14. double tabSpacing = 2,
  15. double? indicatorWidth,
  16. Color? selectedColor,
  17. Color? unselectedColor,
  18. Color? indicatorColor,
  19. Color? borderColor,
  20. Widget tabBuilder(
    1. BuildContext,
    2. TTab,
    3. bool,
    4. VoidCallback? ,
    )?,
  21. double gapX = 16.0,
  22. double gapY = 26.0,
  23. Widget? footer,
})

Creates a sub-form field rendered with vertical tabs.

Implementation

static TFormField<dynamic> verticalTabs({
  required List<TFormTab> tabs,
  TFormType? formType,
  String? label,
  String? description,
  IconData? icon,
  bool initiallyExpanded = false,
  TTabController<dynamic>? controller,
  dynamic initialValue,
  ValueChanged<dynamic>? onTabChanged,
  double? tabWidth,
  bool scrollable = false,
  bool showNavigationButtons = true,
  EdgeInsets? tabPadding,
  double tabSpacing = 2,
  double? indicatorWidth,
  Color? selectedColor,
  Color? unselectedColor,
  Color? indicatorColor,
  Color? borderColor,
  Widget Function(BuildContext, TTab<dynamic>, bool, VoidCallback?)? tabBuilder,
  double gapX = 16.0,
  double gapY = 26.0,
  Widget? footer,
}) {
  return tabsMethod(
    tabs: tabs,
    axis: Axis.vertical,
    formType: formType,
    label: label,
    description: description,
    icon: icon,
    initiallyExpanded: initiallyExpanded,
    controller: controller,
    initialValue: initialValue,
    onTabChanged: onTabChanged,
    tabWidth: tabWidth,
    scrollable: scrollable,
    showNavigationButtons: showNavigationButtons,
    tabPadding: tabPadding,
    tabSpacing: tabSpacing,
    indicatorWidth: indicatorWidth,
    selectedColor: selectedColor,
    unselectedColor: unselectedColor,
    indicatorColor: indicatorColor,
    borderColor: borderColor,
    tabBuilder: tabBuilder,
    gapX: gapX,
    gapY: gapY,
    footer: footer,
  );
}