Visual Studio Code – a function top of Navigator.of(context).push in the onPressed part of the MaterialButton prevent the button to work
When I run on chrome on the computer, everything is ok, but on an Android device, there is a bug while clicking a material button on the app. Expected results: When clicking on the button, the function must do a…