navigation pop not applying original widgets system chrome flutter code example
Example: pop and push shows black screen which needs to be pressed back flutter
Navigator.pop(context);
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondActivity()),
);