This commit is contained in:
Jayesh jain
2024-07-25 23:34:06 +05:30
parent cd13209831
commit fe805f9f2e
17 changed files with 1052 additions and 331 deletions

View File

@@ -280,10 +280,11 @@ final goRouter = GoRouter(
),
GoRoute(
name: RouteName.investDetailScreen,
path: "${RouteName.investDetailScreen}/:type",
path: "${RouteName.investDetailScreen}/:type/:id",
builder: (context, state) {
return InvestDetailsScreen(
type: state.pathParameters["type"]!,
id: state.pathParameters["id"]!,
);
},
),