TabBar(isScrollable: true)
Makes a scrollable tab bar. it’s useful when your tab text content or number of your tabs doesn’t fit into display size.
or maybe you can do something like this:
child: TabBar(
tabs: [
Container(
width: 30.0,
child: Tab(text: 'hello'),
),
Container(
child: Tab(text: 'world'),
),
],
)