worked on bu fix
This commit is contained in:
@@ -18,6 +18,7 @@ import 'package:citycards_customer/itinerary_creation/views/itinerary_creation_v
|
||||
import 'package:citycards_customer/itinerary_creation/views/magic_itinerary_empty_view.dart';
|
||||
import 'package:citycards_customer/itinerary_creation/views/magic_itinerary_filled_view.dart';
|
||||
import 'package:citycards_customer/offer_pass_detail/offer_pass_detail_view.dart';
|
||||
import 'package:citycards_customer/postcard/views/postcard_creation_page_view.dart';
|
||||
import 'package:citycards_customer/privacy/privacy_view.dart';
|
||||
import 'package:citycards_customer/search_offers/bloc/search_offers_listing_bloc.dart';
|
||||
import 'package:citycards_customer/search_offers/view/search_offers_with_listing.dart';
|
||||
@@ -231,6 +232,12 @@ class AppRouter {
|
||||
return RegisteredUserHomePage();
|
||||
},
|
||||
);
|
||||
|
||||
case RouteConstants.postCardCreationPage:
|
||||
return MaterialPageRoute(builder: (_){
|
||||
return PostcardCreationPage();
|
||||
});
|
||||
|
||||
default:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) =>
|
||||
|
||||
@@ -45,7 +45,7 @@ Widget buildOffstageNavigator(
|
||||
return IntroScreensView();
|
||||
});
|
||||
|
||||
// 🔹 Attractions Page
|
||||
// 🔹 Attractions PageF
|
||||
case RouteConstants.attractionsPage:
|
||||
final args = settings.arguments as String;
|
||||
return MaterialPageRoute(
|
||||
@@ -93,7 +93,7 @@ Widget buildOffstageNavigator(
|
||||
);
|
||||
|
||||
// 🔹 Upload Photo Page (start of postcard creation flow)
|
||||
case RouteConstants.uploadPhotoPage:
|
||||
case RouteConstants.postCardCreationPage:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => BlocProvider(
|
||||
create: (_) => PostcardCreationBloc(),
|
||||
|
||||
@@ -56,4 +56,5 @@ class RouteConstants {
|
||||
static const String qrPage = '/qrPage';
|
||||
static const String makeBooking = '/makeBooking';
|
||||
static const String bookingSuccessful = '/bookingSuccessful';
|
||||
static const String postCardCreationPage = '/postCardCreationPage';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user