xxxxxxxxxx
TabBar(
tabs: [
Tab(
text: 'Icon',
icon: Icon(Icons.call), // <-- Icon
),
Tab(
text: 'Image',
icon: Image.asset( // <-- Image
'assets/images/foo.png',
height: 44,
fit: BoxFit.cover,
),
),
],
)