I am running into a globalKey error after I navigate from Screen A to Screen B and click a \"Cancel\" button to go back to Scree
globalKey
Screen A
Screen B
Scree
Remove the static and final type from the key variable so if
static final GlobalKey _abcKey = GlobalKey();
change it to
GlobalKey _abcKey = GlobalKey();