onPop property
(void Function(T poppedValue, T currentValue)?)
onPop
final
A callback that runs immediately after a page is popped.
Implementation
final void Function(T poppedValue, T currentValue)? onPop;