fix checkout/cart
This commit is contained in:
@@ -230,8 +230,12 @@ final routerProvider = Provider<GoRouter>((ref) {
|
||||
GoRoute(
|
||||
path: RouteNames.checkout,
|
||||
name: RouteNames.checkout,
|
||||
pageBuilder: (context, state) =>
|
||||
MaterialPage(key: state.pageKey, child: const CheckoutPage()),
|
||||
pageBuilder: (context, state) => MaterialPage(
|
||||
key: state.pageKey,
|
||||
child: CheckoutPage(
|
||||
checkoutData: state.extra as Map<String, dynamic>?,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
// Favorites Route
|
||||
|
||||
@@ -22,7 +22,6 @@ class AppTheme {
|
||||
tertiary: AppColors.accentCyan,
|
||||
error: AppColors.danger,
|
||||
surface: AppColors.white,
|
||||
background: AppColors.grey50,
|
||||
);
|
||||
|
||||
return ThemeData(
|
||||
@@ -298,7 +297,6 @@ class AppTheme {
|
||||
tertiary: AppColors.primaryBlue,
|
||||
error: AppColors.danger,
|
||||
surface: const Color(0xFF1E1E1E),
|
||||
background: const Color(0xFF121212),
|
||||
);
|
||||
|
||||
return ThemeData(
|
||||
|
||||
Reference in New Issue
Block a user