Icon with Notification badge not implemented.
rvndsngwn opened this issue ยท 3 comments
rvndsngwn commented
Hey, @jb3rndt I'm trying to add a notification badge on Persistent Bottom Nav Bar V2 but it is not compatible.
My code
PersistentBottomNavBarItem(
icon: Stack(
alignment: Alignment.center,
children: const [
Icon(
Icons.chat_rounded,
),
UnreadIndicator(),
],
),
title: ("Chat"),
),
rvndsngwn commented
I update my code and this issue gone. ๐
PersistentBottomNavBarItem(
icon: Badge(
animationType: BadgeAnimationType.scale,
badgeContent: UnreadIndicator(),
child: const Icon(
Icons.chat_rounded,
),
),
title: ("Chat"),
),
jb3rndt commented
Nice ๐๐
h-unterp commented
This would be a useful example for the docs