How to get the correct context after calling Navigator.of(context).pop()?
Navigator.of(context).pop()
Example:
ElevatedButton( child: Text(\'Test\'), onPressed: (