feat:browse page ui done
This commit is contained in:
@@ -10,7 +10,6 @@ class AppRoutes {
|
||||
final GoRouter router = GoRouter(
|
||||
navigatorKey: navigatorKey,
|
||||
initialLocation: Routes.splash,
|
||||
|
||||
routes: [
|
||||
GoRoute(path: Routes.splash, builder: (context, state) => SplashPage()),
|
||||
GoRoute(
|
||||
@@ -33,6 +32,10 @@ class AppRoutes {
|
||||
child: RestaurantsByCategoryPage(categoryName: state.extra as String),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: Routes.browse,
|
||||
pageBuilder: (context, state) => CupertinoPage(child: BrowsePage()),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -5,5 +5,6 @@ abstract class Routes {
|
||||
static const String main = '/main';
|
||||
static const String categories = '/categories';
|
||||
static const String filters = '/filters';
|
||||
static const String browse = '/browse';
|
||||
static const String restaurantsByCategory = '/restaurants-by-category';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user