How can I eliminate the border at the bottom of the Flutter TabBar?
add a comment
To eliminate the border at the bottom of the Flutter TabBar, you can set the TabBar's border
property to Border(bottom: BorderSide.none)
like this:
TabBar(
tabs: [
Tab(text: 'Tab 1'),
Tab(text: 'Tab 2'),
],
border: Border(bottom: BorderSide.none),
),
This sets the bottom border to none, effectively removing it.
Asked: 2023-05-14 13:45:54 +0000
Seen: 11 times
Last updated: May 14 '23