show badges totaled in more areas

This commit is contained in:
Henry Hiles 2026-10-15 00:42:56 -04:00
commit 66a437094a
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
6 changed files with 79 additions and 22 deletions

View file

@ -5,5 +5,6 @@ abstract class const NavPage({super.key}) extends Widget {
String get title;
IconData get icon;
/// Null hides the badge, and 0 shows a dot.
int? badgeCount(WidgetRef ref) => null;
}