NavigationInterceptOptions constructor

NavigationInterceptOptions({
  1. NavigationInterceptHandler? handler,
  2. NavigationFocusReset? focusReset,
  3. NavigationScrollBehavior? scroll,
})

Implementation

factory NavigationInterceptOptions(
        {NavigationInterceptHandler? handler,
        NavigationFocusReset? focusReset,
        NavigationScrollBehavior? scroll}) =>
    NavigationInterceptOptions._(
        handler: handler ?? undefined,
        focusReset: focusReset?.value ?? undefined,
        scroll: scroll?.value ?? undefined);