Skip to content

Commit

Permalink
fix(katana_module): Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Aug 17, 2022
1 parent 28e5559 commit f9eff88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/katana_module/lib/src/adapter_module.dart
Expand Up @@ -34,4 +34,12 @@ abstract class AdapterModule extends Module implements ModuleHook {
@override
@mustCallSuper
Future<void> onAfterFinishBoot(BuildContext context) => Future.value();

/// This is called if you want to redirect to a specific URL when Boot redirects.
///
/// If null or non-empty is returned, it is ignored.
@override
@mustCallSuper
Future<String?> retrieveRedirectUriOnBoot(BuildContext context) =>
Future.value(null);
}

0 comments on commit f9eff88

Please sign in to comment.