add profile edit
This commit is contained in:
@@ -23,6 +23,7 @@ import 'package:worker/features/quotes/presentation/pages/quotes_page.dart';
|
||||
import 'package:worker/features/price_policy/price_policy.dart';
|
||||
import 'package:worker/features/news/presentation/pages/news_list_page.dart';
|
||||
import 'package:worker/features/news/presentation/pages/news_detail_page.dart';
|
||||
import 'package:worker/features/account/presentation/pages/profile_edit_page.dart';
|
||||
|
||||
/// App Router
|
||||
///
|
||||
@@ -201,6 +202,14 @@ class AppRouter {
|
||||
},
|
||||
),
|
||||
|
||||
// Profile Edit Route
|
||||
GoRoute(
|
||||
path: RouteNames.profile,
|
||||
name: RouteNames.profile,
|
||||
pageBuilder: (context, state) =>
|
||||
MaterialPage(key: state.pageKey, child: const ProfileEditPage()),
|
||||
),
|
||||
|
||||
// TODO: Add more routes as features are implemented
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user