Adding Tooltip to BottomNavyBar.items #50
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Hello, I would like to add a
Tooltip
to every item inBottomNavyBar.items
.Currently, the items cannot easily be wrapped in a
Tooltip
sinceBottomNavyBar.items
has the explicit typeList<BottomNavyBarItem>
.Ideally, I think
BottomNavyBar.items
should be of typeList<Widget>
instead. Then, theBottomNavyBarItem
s can be wrapped with other Widgets without impacting the interface.This works well in existing native Widgets, for example
IconButton
.IconButton.icon
is typically anIcon
, but the interface specifiesWidget
.What are your thoughts on using the generic
Widget
type in this case?The text was updated successfully, but these errors were encountered: