Skip to content

Introduce NavigationBar widget with Material 3 support #88888

Closed

Description

@rami-a

Use case

Allow developers that are using Material You/v3 to have a correctly styled NavigationBar

Proposal

Introduce a new widget called NavigationBar that can be used as a replacement for BottomNavigationBar. The previous component has some outdated tech debt and features from earlier versions of the Material spec.

Activity

  1. self-assigned this
    on Aug 25, 2021
  2. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 25, 2021
  3. bernaferrari commented on Aug 25, 2021

    @bernaferrari
    Contributor

    Can you use NavigationBar at the top? Because there were some things in the initial implementation that prevented this.

  4. rami-a commented on Aug 25, 2021

    @rami-a
    ContributorAuthor

    Conceptually, it is meant to be used at the bottom.

    Technically, I don't think there would be any reason why you couldn't use it at the top (though the preferred use is to provide it to the bottomNavigationBar field of scaffold.

  5. bernaferrari commented on Aug 25, 2021

    @bernaferrari
    Contributor

    If I remember well, the tooltip only works/worked on bottom (otherwise it wouldn't be shown).

  6. rami-a commented on Aug 26, 2021

    @rami-a
    ContributorAuthor

    If I remember well, the tooltip only works/worked on bottom (otherwise it wouldn't be shown).

    Ah, then I believe that issue persists in this new version (for now) but I think adding a way to theme (allow customizing the position/style/etc) the tooltip would be straightforward and non-breaking to land in a follow-up PR

  7. changed the title [-][Material You] Introduce NavigationBar widget with Material You styling[/-] [+][Material v3] Introduce NavigationBar widget with Material You styling[/+] on Sep 1, 2021
  8. changed the title [-][Material v3] Introduce NavigationBar widget with Material You styling[/-] [+][Material 3] Introduce NavigationBar widget with Material You styling[/+] on Sep 10, 2021
  9. github-actions commented on Oct 10, 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.

  10. locked as resolved and limited conversation to collaborators on Oct 10, 2021
  11. changed the title [-][Material 3] Introduce NavigationBar widget with Material You styling[/-] [+]Introduce NavigationBar widget with Material You styling[/+] on Mar 30, 2022
  12. changed the title [-]Introduce NavigationBar widget with Material You styling[/-] [+]Introduce NavigationBar widget with Material 3 support[/+] on Mar 30, 2022
  13. moved this to Todo in Material 3on May 23, 2022
  14. moved this from Todo to Done in Material 3on May 23, 2022
  15. changed the title [-]Introduce NavigationBar widget with Material 3 support[/-] [+]Introduce `NavigationBar` widget with Material 3 support[/+] on May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions