-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Use case
Currently, the BottomNavigationBar documentation supplies sample code for a simple example involving updating the displayed Scaffold.body widget. However, there can also be more unique interaction patterns, such as:
- tapping an already-selected index for additional behavior (ie. to scroll to top of displayed page)
- having a unique item that doesn't update the selectedIndex (ie. a button that opens a dropdown or modal instead of updating the displayed
Scaffold.body)
While these are less common, there is some desire for instruction on getting these behaviors implemented.
Proposal
Create sample docs for one or both cases above to show that BottomNavigationBar can be more flexible than expected.
Metadata
Metadata
Assignees
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team