body: TabBarView(
children: [
Center(
child: Text("It's cloudy here"),
),
Center(
child: Text("It's rainy here"),
),
Center(
child: Text("It's sunny here"),
),
],
),
appBar: AppBar(
title: Text('TabBar'),
bottom: TabBar(
tabs: [
Tab(
icon: Icon(Icons.cloud_outlined),
),
Tab(
icon: Icon(Icons.beach_access_sharp),
),
Tab(
icon: Icon(Icons.brightness_5_sharp),
),
],
),
),
An example of Flutter Tabbar implementation is given here:
https://blog.logrocket.com/flutter-tabbar-a-complete-tutorial-with-examples/
indicatorSize