When i try to change TextStyle it says "The argument type 'Text' can't be assigned to the parameter type 'String'." How can i change it?
- I am using convex_bottom_bar 3.0.0
- Sorry for my english if i made mistake
bottomNavigationBar: ConvexAppBar(
items: [
TabItem(icon: Icons.touch_app_rounded, title: Text("Tab1",style: TextStyle(fontFamily: "iransans"),)),
TabItem(icon: Icons.store_rounded, title: 'Mağaza'),
TabItem(icon: Icons.developer_board_rounded, title: 'Simülasyon'),
TabItem(icon: Icons.timeline_rounded, title: 'İstatistik'),
TabItem(icon: Icons.view_week_rounded, title: 'Diğer'),
],
gradient: LinearGradient(
colors: [Color(0xFFEC407A),
Color(0XFF1A237E)],
begin: Alignment.bottomCenter,
stops: [
0.0,0.4
],
end: Alignment.topCenter,
),
height: 70,
backgroundColor: Color(0xFFEC407A),
//backgroundColor: Colors.white,
activeColor: Colors.white,
initialActiveIndex: 0,//optional, default as 0
onTap: (int i) => print('click index=$i'),
),