mirror of
https://github.com/flutter/samples.git
synced 2026-03-31 08:44:26 +00:00
Fix go_router navigation (#1515)
This commit is contained in:
@@ -63,7 +63,7 @@ class WinGameScreen extends StatelessWidget {
|
||||
),
|
||||
rectangularMenuArea: ElevatedButton(
|
||||
onPressed: () {
|
||||
GoRouter.of(context).pop();
|
||||
GoRouter.of(context).go('/play');
|
||||
},
|
||||
child: const Text('Continue'),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user