Closed FlorianPix closed 12 months ago
don't use "Navigator.pop" instead go straight back to map view. The "addSpot" dialog can be used in different contexts and if these contexts have different depths than we can't know how often to call "pop".
solved with named base route Navigator.popUntil(context, ModalRoute.withName('/'));
don't use "Navigator.pop" instead go straight back to map view. The "addSpot" dialog can be used in different contexts and if these contexts have different depths than we can't know how often to call "pop".