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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-14 13:45:54 +0000
Seen: 11 times
Last updated: May 14 '23