onDeepLink property

Stream<String> get onDeepLink

Stream of deep links received from widgets.

Replays a link that arrived before anyone was listening, so a tap that cold-launched the app is not lost between registration and runApp.

Implementation

static Stream<String> get onDeepLink {
  _ensureInitialized();
  final pending = _pendingDeepLink;
  if (pending == null) return _onDeepLinkController.stream;
  _pendingDeepLink = null;
  return _onDeepLinkController.stream.transform(_prependTransformer(pending));
}