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
Reconsider BottomNavigationBar API given updated spec? #27414
With #27008, the two bar types look more similar (besides the color), and AFAICT the spec doesn't seem to make a distinction between 'shifting' and 'fixed' bottom navigation bars. I also don't know if changing the bottom nav color used to be on the spec, but it's not as of reading today.
Reading through the section on material.io, we see a mixture of different styles and behaviors not necessarily put into certain buckets. For example, the following is the first image on the bottom nav section:
Which currently isn't possible with Flutter since elements of this design are split betwen fixed and shifting modes. See also:
We have the same problem here: our shifting mode renders icons and text in white, since it assumes the background will be a contrasting color.
Seems to me like it makes sense to update the API to allow users to control each of these aspects (shifting, inactive labels hidden, inactive opacity, background color, foreground color, etc.) individually.
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
HansMuller commentedon Feb 4, 2019
cc @johnsonmh
github-actions commentedon Aug 14, 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.