tabBar method
Widget
tabBar(
- AppModel app,
- BuildContext context, {
- required List<
String> items, - required TabController tabController,
override
Implementation
@override
Widget tabBar(AppModel app, BuildContext context,
{required List<String> items, required TabController tabController}) {
var tabItems = <TabItem>[];
for (var item in items) {
tabItems.add(TabItem(
color: Colors.black12,
title: _style.frontEndStyle().textStyle().text(
app,
context,
item,
)));
}
return ColorfulTabBar(
tabs: tabItems,
controller: tabController,
);
}