SubZeroTabBarView constructor
const
SubZeroTabBarView({
- Key? key,
- required List<
String> tabs, - required List<
Widget> children, - SubZeroTabVariant variant = SubZeroTabVariant.primary,
- bool isScrollable = false,
- int initialIndex = 0,
- ValueChanged<
int> ? onTabChanged,
Implementation
const SubZeroTabBarView({
super.key,
required this.tabs,
required this.children,
this.variant = SubZeroTabVariant.primary,
this.isScrollable = false,
this.initialIndex = 0,
this.onTabChanged,
}) : assert(tabs.length == children.length);