IAmSarthakVerma / NestedTabBar-Flutter

An application to learn how to build a Nested Tab Bar in Flutter.
https://medium.com/@IAmSarthakVerma/build-a-nested-tabbar-in-flutter-7e0cae5cfc7
44 stars 14 forks source link

Is it possible to implement nested tabs using tabbar of appbar and bothbottomNavigationBar. #3

Open YukiKamada opened 4 years ago

YukiKamada commented 4 years ago

Hi @IAmSarthakVerma

Thanks for your working. It's so helpful for my issues.

But, l have a question that it is possible to implement nested tabs with bottom of scaffold's appbar and bothbottomNavigationBar.

I think it is impossible because I can not set two TabBarView.

Could you tell me your opinion?

IAmSarthakVerma commented 4 years ago

Thanks @YukiKamada Can you please explain a bit more. What I understand is you want to have an App bar and I don't see any problem in that. In fact, if you see in my code, AppBar exists in that too. Let me know if any further clarifications are needed.

YukiKamada commented 4 years ago

Hi @IAmSarthakVerma Thaks for your answer.

And, I am sorry for mistake of my question. What I would like to do is below, Scaffold( appBar: AppBar( title: Text('BLoC Example'), bottom: MyTopTabBar(), ), body: Center(child: _buildCenter(state)), bottomNavigationBar: MyBottomTabBar(), );

I think it's impossible to set two tabBarViews... Could you please tell me any other idea?