Closed desire0420 closed 2 years ago
当Tab过多 可以滚动的时候 ,tab与tab 之间没有间距。请问要怎么解决
ExtendedTabBar( tabs: List.generate( _controller.length, (int index) => Tab( text: 'Tab$index', )).toList(), controller: _controller, labelPadding: EdgeInsets.symmetric(horizontal: 30), labelColor: Colors.blue, isScrollable: _controller.length > 5, indicatorSize: _tabBarIndicatorSize, mainAxisAlignment: _mainAxisAlignment, indicator: const ExtendedUnderlineTabIndicator( //size: 31, insets: EdgeInsets.symmetric(horizontal: 30), borderSide: BorderSide( color: Colors.red, width: 1, )), )
当Tab过多 可以滚动的时候 ,tab与tab 之间没有间距。请问要怎么解决