show badges totaled in more areas
This commit is contained in:
parent
d37ec2878b
commit
66a437094a
6 changed files with 79 additions and 22 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue