Want to create unselected indicator for tab bar in Flutter? Instead of using container in tabs, try this (wrapping the TabBar with container and providing bottom border.
Here is an example:
//This is responsible for the background of the tabbar, does the magic
//This is for background color
//This is for bottom border that is needed
border: Border(bottom: BorderSide(color: Colors.grey, width: 0.8))),
Will not look exactly as you want, but will give underlined indication to unselected tabs.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.