verticalTabs static method
TFormField
verticalTabs({
- required List<
TFormTab> tabs, - TFormType? formType,
- String? label,
- String? description,
- IconData? icon,
- bool initiallyExpanded = false,
- TTabController? controller,
- dynamic initialValue,
- ValueChanged? onTabChanged,
- double? tabWidth,
- bool scrollable = false,
- EdgeInsets? tabPadding,
- double tabSpacing = 2,
- double? indicatorWidth,
- Color? selectedColor,
- Color? unselectedColor,
- Color? indicatorColor,
- Color? borderColor,
- Widget tabBuilder(
- BuildContext,
- TTab,
- bool,
- VoidCallback? ,
- double gapX = 16.0,
- double gapY = 26.0,
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,
);
}