willPopPage property

bool Function(Route route, dynamic result)? willPopPage
getter/setter pair

A function called when the app goes back to the previous page.

Implementation

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