Added rootNavigator attribute to fullscreenDialog above the tab bar

This commit is contained in:
Felix Kirchner
2025-05-02 23:31:28 +02:00
parent d4b4d841a7
commit 74148aed8a
2 changed files with 5 additions and 4 deletions

View File

@@ -82,8 +82,9 @@ class _ActiveGameViewState extends State<ActiveGameView> {
style: TextStyle(fontSize: 22)),
onTap: () async {
// ignore: unused_local_variable
final val = await Navigator.push(
context,
final val =
await Navigator.of(context, rootNavigator: true)
.push(
CupertinoPageRoute(
fullscreenDialog: true,
builder: (context) => RoundView(