updates on tran flow

This commit is contained in:
2025-09-01 23:53:53 +02:00
parent 6e2f91d2c0
commit 0bdabe55cc
7 changed files with 52 additions and 5 deletions

View File

@@ -82,6 +82,10 @@ class _MyAppState extends State<MyApp> {
path: '/',
builder: (context, state) => const HomeScreen(),
),
GoRoute(
path: '/home',
builder: (context, state) => const HomeScreen(),
),
GoRoute(
path: '/make-payment',
builder: (context, state) => const PayScreen(),
@@ -153,7 +157,7 @@ class ScaffoldWithNavBar extends StatelessWidget {
onDestinationSelected: (index) {
switch (index) {
case 0:
context.go('/');
context.go('/home');
break;
// case 1:
// context.go('/recipients');