add price policy
This commit is contained in:
@@ -20,6 +20,7 @@ import 'package:worker/features/products/presentation/pages/product_detail_page.
|
||||
import 'package:worker/features/products/presentation/pages/products_page.dart';
|
||||
import 'package:worker/features/promotions/presentation/pages/promotion_detail_page.dart';
|
||||
import 'package:worker/features/quotes/presentation/pages/quotes_page.dart';
|
||||
import 'package:worker/features/price_policy/price_policy.dart';
|
||||
|
||||
/// App Router
|
||||
///
|
||||
@@ -189,6 +190,16 @@ class AppRouter {
|
||||
),
|
||||
),
|
||||
|
||||
// Price Policy Route
|
||||
GoRoute(
|
||||
path: RouteNames.pricePolicy,
|
||||
name: RouteNames.pricePolicy,
|
||||
pageBuilder: (context, state) => MaterialPage(
|
||||
key: state.pageKey,
|
||||
child: const PricePolicyPage(),
|
||||
),
|
||||
),
|
||||
|
||||
// TODO: Add more routes as features are implemented
|
||||
],
|
||||
|
||||
@@ -308,6 +319,9 @@ class RouteNames {
|
||||
static const String promotionDetail = '/promotions/:id';
|
||||
static const String notifications = '/notifications';
|
||||
|
||||
// Price Policy Route
|
||||
static const String pricePolicy = '/price-policy';
|
||||
|
||||
// Chat Route
|
||||
static const String chat = '/chat';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user