flutter-problem with tabbar height in the page
return Column( children: [ Container( color: tdWhite, child: TabBar( controller: tabController, indicatorColor: tdBlack, isScrollable: false, tabs: [ Tab( child: Text( ‘Featured’, style: TextStyle(fontSize: 15.sp, color: tdBlack), ), ), Tab( child: Text( ‘On Sale’, style: TextStyle(fontSize: 15.sp, color: tdBlack), ), ), Tab( child: Text(‘Top Rated’, style: TextStyle( fontSize: 15.sp, color: tdBlack)), ), ], ), ), SizedBox( […]
Navbar buttom take more height in some phone flutter
@override Widget build(BuildContext context) { return Scaffold( backgroundColor: tdWhite, bottomNavigationBar: Padding( padding: const EdgeInsets.all(8), child: ClipRRect( borderRadius: BorderRadius.circular(100), child: BottomNavigationBar( type: BottomNavigationBarType.fixed, backgroundColor: tdWhiteNav, showSelectedLabels: false, showUnselectedLabels: false, onTap: (int newIndex) {}, items:const [ BottomNavigationBarItem( icon: Icon(MyFlutterApp.home, color: tdIconColor), label: ”, ), BottomNavigationBarItem( icon: Icon(MyFlutterApp.ticket, color: tdIconColor, size: 40), label: ”, ), BottomNavigationBarItem( icon: Icon(MyFlutterApp.group_168, […]