Reputation: 697
I have a TabBar as a bottom of my appbar like this:
appBar: new AppBar(
bottom:
TabBar(
labelColor: Colors.black,
indicatorColor: Color(0xff2CB57D),
tabs: [
Tab(
text: uiLabels['tab1'][globals.currentLang],
),
Tab(text: uiLabels['tab2'][globals.currentLang]),
],
),
And then in the body like this:
body: TabBarView(
children: [
PollsListPage(),
PollsListPage(),
],
),
This is working just fine .. the problem is that i want to add Positioned widget in the body with the TabBarView ..
How can i do this?
Upvotes: 0
Views: 205
Reputation: 697
I found out that i can put a body widget which is for both and then customize it as i need ..
Upvotes: 2