TTabView<T> constructor
const
TTabView<T> ({
- Key? key,
- required List<
TTab< tabs,T> > - TTabController<
T> ? controller, - T? initialValue,
- Color? borderColor,
- Color? selectedColor,
- Color? unselectedColor,
- Color? disabledColor,
- Color? indicatorColor,
- EdgeInsets? tabPadding,
- double? indicatorWidth,
- bool inline = false,
- Axis axis = Axis.horizontal,
- bool scrollable = false,
- bool wrap = false,
- Widget tabBuilder(
- BuildContext context,
- TTab<
T> tab, - bool isSelected
Creates a tab view widget.
Implementation
const TTabView({
super.key,
required this.tabs,
this.controller,
this.initialValue,
this.borderColor,
this.selectedColor,
this.unselectedColor,
this.disabledColor,
this.indicatorColor,
this.tabPadding,
this.indicatorWidth,
this.inline = false,
this.axis = Axis.horizontal,
this.scrollable = false,
this.showNavigationButtons = true,
this.wrap = false,
this.tabBuilder,
this.navigationButtonColor,
this.navigationButtonBackgroundColor,
});