TTabs<T> constructor
const
TTabs<T> ({
- Key? key,
- required List<
TTab< tabs,T> > - T? selectedValue,
- ValueChanged<
T> ? onTabChanged, - Color? borderColor,
- Color? selectedColor,
- Color? unselectedColor,
- Color? disabledColor,
- Color? indicatorColor,
- EdgeInsets? tabPadding = const EdgeInsets.symmetric(vertical: 5, horizontal: 16),
- double? indicatorWidth = 1,
- bool inline = false,
Implementation
const TTabs({
super.key,
required this.tabs,
this.selectedValue,
this.onTabChanged,
this.borderColor,
this.selectedColor,
this.unselectedColor,
this.disabledColor,
this.indicatorColor,
this.tabPadding = const EdgeInsets.symmetric(vertical: 5, horizontal: 16),
this.indicatorWidth = 1,
this.inline = false,
});