Answers for "Navigator.of(context).pop(); gives black screen instead of closing draer"

C
0

pop and push shows black screen which needs to be pressed back flutter

Navigator.pop(context);
Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => SecondActivity()),
          );
Posted by: Guest on April-26-2020
0

Navigator.of(context).pop(); gives black screen instead of closing draer

// Use this if Navigator.pop(context); not working
Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => SecondActivity()),
          );
Posted by: Guest on July-23-2021

Code answers related to "Navigator.of(context).pop(); gives black screen instead of closing draer"

Code answers related to "C"

Browse Popular Code Answers by Language