-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix BottomNavigationBarItem tooltip defaults to label #107715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BottomNavigationBarItem tooltip defaults to label #107715
Conversation
gspencergoog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say something like this instead:
/// A [Tooltip] will only appear on this item if `tooltip` is set to a non-empty string..There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// The text to display in the tooltip for this [BottomNavigationBarItem]. | |
| /// The text to display in the [Tooltip] for this [BottomNavigationBarItem]. |
06e685f to
d87ae16
Compare
d87ae16 to
65609c8
Compare

Description
This PR updates
BottomNavigationBarto not show a tooltip whenBottomNavigationBarItem.tooltipis null (instead of displaying the label text).Related Issue
Fixes #107036
Tests
Updates 1 test.