onPopPage property

bool Function(Route route, dynamic result, PageArgs pageArgs) onPopPage
final

This gets called when the page is popped. You can use this to clean up

Implementation

final bool Function(
  Route<dynamic> route,
  // ignore: avoid_annotating_with_dynamic
  dynamic result,
  PageArgs<dynamic> pageArgs,
) onPopPage;