How can I customize the TabBar indicator width and height?

后端 未结 5 663
傲寒
傲寒 2020-12-30 13:08

I\'m using a TabBar widget and I\'d like to customize the height and width of the indicator. I can\'t see any other property besides color I can modify.

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 13:45

    You can adjust the spacing between the tabs -> labelPadding: EdgeInsets.symmetric (horizontal: 5),

提交回复
热议问题