I have an interface with two buttons that pop and return true or false, like so:
onPressed: () => Navigator.pop(context, false)
I need t
First, Remove the automatically appended back button (see this answer)
Then, create your own back button. like this:
IconButton( onPressed: () => Navigator.pop(context, false), icon: Icon(Icons.arrow_back), )