back/back_button_interceptor library

Classes

BackButtonInterceptor
When you need to intercept the Android back-button, you usually add WillPopScope to your widget tree. However, under some use cases, specially when developing stateful widgets that interact with the back button, it's more convenient to use the BackButtonInterceptor.
InterceptorResult
InterceptorResults
RouteInfo

Typedefs

InterceptorFunction = FutureOr<bool> Function(bool stopDefaultButtonEvent, RouteInfo routeInfo)