feat(deeplinks): added backwards novigation for contant that was oppened via deeplinks, added routing to plans

This commit is contained in:
Username1548
2025-06-24 03:18:03 +07:00
parent 105c7cb462
commit aa78d385a2
6 changed files with 511 additions and 433 deletions

View File

@@ -45,7 +45,7 @@ class _MyPlanWidgetState extends State<MyPlanWidget> {
Stack(
children: [
InkWell(
onTap: () => GoRouter.of(context).pushNamed('aboutPlanScreen', extra: {'plan': widget.plan, 'navigateToComments': false}),
onTap: () => GoRouter.of(context).pushNamed('aboutPlanScreen', extra: {'slug': widget.plan.slug, 'navigateToComments': false}),
child: ClipRRect(
borderRadius: const BorderRadius.vertical(top: Radius.circular(12)),
child: CachedNetworkImage(