tabBarStyle property
Select preferred style for the default TabBarTheme.
By default the TabBarTheme is made to fit with the style of the AppBar, via default value FlexTabBarStyle.forAppBar.
When setting this to FlexTabBarStyle.forBackground, it will default to a theme that uses the color scheme and fits on background color, which typically also on works surface and scaffoldBackground color. This TabBarTheme style is useful if you primarily intended to use the TabBar in a Scaffold, Dialog, Drawer or Side panel on their background colors.
Implementation
final FlexTabBarStyle tabBarStyle;