Skip to content

TabBar and TabBarView should allow zero or one elements #970

Closed

Description

@HansMuller

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.

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    on Dec 16, 2015
  2. added this to the milestone on Dec 16, 2015
  3. eseidelGoogle commented on Jun 2, 2017

    @eseidelGoogle
    Contributor

    @alardizabal ran into this today.

  4. eseidelGoogle commented on Jun 2, 2017

    @eseidelGoogle
    Contributor

    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.

  5. Hixie commented on Jun 6, 2017

    @Hixie
    Contributor

    @HansMuller Is this something you can take a look at?

  6. self-assigned this
    on Jun 6, 2017
  7. HansMuller commented on Jun 6, 2017

    @HansMuller
    ContributorAuthor

    Yes, I can do it.

  8. github-actions commented on Aug 16, 2021

    @github-actions

    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.

  9. locked as resolved and limited conversation to collaborators on Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

customer: posse (eap)frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions