willPopPage property

  1. @override
bool Function(Route route, dynamic result)? get willPopPage
override

A function called when the app goes back to the previous page. It is passed to the willPopPage of StandardRouterDelegate.

Implementation

@override
bool Function(Route<dynamic> route, dynamic result)? get willPopPage =>
    _willPopPage;