willPopPage property

bool Function(Route route, dynamic result)? get willPopPage

A function called when the app is attempting to go back to the previous page.

Implementation

bool Function(Route<dynamic> route, dynamic result)? get willPopPage;