You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TabBar and TabBarView should allow zero or one elements #970
Currently at least two tab labels/views are required.
An application that displayed search results in a TabBar/TabBarView or just the latter, would expect the classes to work no matter how many elements were specified.
My understanding from @alardizabal is that this is mostly about programming convenience and not having to handle the n=1 case separately when dealing with dynamic data.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
eseidelGoogle commentedon Jun 2, 2017
@alardizabal ran into this today.
eseidelGoogle commentedon Jun 2, 2017
My understanding from @alardizabal is that this is mostly about programming convenience and not having to handle the n=1 case separately when dealing with dynamic data.
Hixie commentedon Jun 6, 2017
@HansMuller Is this something you can take a look at?
HansMuller commentedon Jun 6, 2017
Yes, I can do it.
github-actions commentedon Aug 16, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.