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

Navigator.pop(context);
Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => SecondActivity()),
          );

0
0
Awgiedawgie 440215 points

                                    // Use this if Navigator.pop(context); not working
Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => SecondActivity()),
          );

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
canpop flutter getx getx canPop flutter navigator.pop black screen my site makes navigator black screen navigator.pop(context) black screen flutter navigator.pop(context) to first screen navigation pop not applying original widgets system chrome flutter pushNamedAndRemoveUntil is giving black screen Navigator.of(context).pop(); in appbar flutter navigator.pop causing error but pressing back button does not cause error Navigator.pop(context); always home screen flutter screen not poping navigator not poping screen flutter back only screen flutter screen back not working in flutter flutter Navigator.popUntil gives black screen Navigator.pop(context); is blank white Navigator.pop(context); is blank Navigator.pop flutter white screen popUpuntil show me black screen flutter popUp until show me black screen flutter Navigator.pop(context); not work , become black screen black screen in flutter when pop navigator pop first screen flutter onwillpop black screen flutter popuntill black screen navigator popuntill black screen flutter navigator.pop black screen Navigator.of(context).pop(); gives black screen instead of closing draer flutter pop black screen flutter Navigator.of(context).pop() brings blackscreen WHEN pop in flutter show a black screen page transition flutter black screen how to stop to Navigator.pop the last page blank page flutter navigator pop black screen navigator pop don't go navigator pop dont go navigator pop black screen pop back screen flutter navigator navigator.push open black screen navigating to second screen shows black screen in flutter when i use pop context i get a black screen in flutter pop and push shows black screen which needs to be pressed back flutter
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source