Update codebase
This commit is contained in:
@@ -8,6 +8,7 @@ import '../features/chat/view/chat_page.dart';
|
||||
import '../features/profile/view/profile_edit_page.dart';
|
||||
import '../features/profile/view/profile_setup_page.dart';
|
||||
import '../features/rating/data/rating_repository.dart';
|
||||
import '../features/notifications/view/notifications_page.dart';
|
||||
import '../features/rewards/view/rewards_page.dart';
|
||||
import '../features/rating/view/rating_page.dart';
|
||||
import '../features/settings/view/settings_page.dart';
|
||||
@@ -34,6 +35,7 @@ class Routes {
|
||||
static const support = '/support';
|
||||
static const rewards = '/rewards';
|
||||
static const chat = '/chat';
|
||||
static const notifications = '/notifications';
|
||||
}
|
||||
|
||||
/// التوجيه يُشتقّ من `SessionCubit` وحده — لا `Navigator.push` بعد الدخول
|
||||
@@ -120,6 +122,10 @@ final appRouter = GoRouter(
|
||||
path: Routes.support,
|
||||
builder: (context, state) => const SupportPage(),
|
||||
),
|
||||
GoRoute(
|
||||
path: Routes.notifications,
|
||||
builder: (context, state) => const NotificationsPage(),
|
||||
),
|
||||
GoRoute(
|
||||
path: Routes.home,
|
||||
builder: (context, state) => const RidePage(),
|
||||
|
||||
Reference in New Issue
Block a user