SmoothTabBar<T> constructor
- required TabController tabController,
- required Iterable<
SmoothTabBarItem< items,T> > - required dynamic onTabChanged(
- T
- EdgeInsetsGeometry? padding,
- Iterable<
Widget?> ? leadingItems, - Iterable<
Widget?> ? trailingItems, - Color? overflowMainColor,
- Color? unselectedTabColor,
- Key? key,
Implementation
const SmoothTabBar({
required this.tabController,
required this.items,
required this.onTabChanged,
this.padding,
this.leadingItems,
this.trailingItems,
this.overflowMainColor,
this.unselectedTabColor,
super.key,
}) : assert(items.length > 0);