onBack property

VoidCallback? onBack
final

Overrides the back button's default Navigator.maybePop().

Set this for router-specific semantics such as go_router's context.pop().

Implementation

final VoidCallback? onBack;