I'm encountering an issue with the PersistentBottomNavBarItem in Flutter. I'm observing that the clickable area for the item is limited to the icon itself, and clicking around the icon doesn't trigger the action. Additionally, there's no visual feedback, such as color change, not icon color change but hover color for the container, when the item is clicked. This problem might be due to the usage of GestureDetector instead of InkWell.
I'm encountering an issue with the
PersistentBottomNavBarItem
in Flutter. I'm observing that the clickable area for the item is limited to the icon itself, and clicking around the icon doesn't trigger the action. Additionally, there's no visual feedback, such as color change, not icon color change but hover color for the container, when the item is clicked. This problem might be due to the usage ofGestureDetector
instead ofInkWell
.