move NotificationsPage into sidebar via NavigationBar
This commit is contained in:
parent
3b2cf6b2a4
commit
45d69b0b9f
6 changed files with 458 additions and 389 deletions
8
lib/models/nav_page.dart
Normal file
8
lib/models/nav_page.dart
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import "package:flutter/widgets.dart";
|
||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
|
||||
abstract class const NavPage({super.key}) extends Widget {
|
||||
String get title;
|
||||
IconData get icon;
|
||||
Future<int>? badgeBuilder(WidgetRef ref) => null;
|
||||
}
|
||||
Loading…
Reference in a new issue