didPushRoute method

  1. @Deprecated('Use didPushRouteInformation instead. ' 'This feature was deprecated after v3.8.0-14.0.pre.')
Future<bool> didPushRoute(
  1. String route
)
inherited

Called when the host tells the app to push a new route onto the navigator.

Observers are expected to return true if they were able to handle the notification. Observers are notified in registration order until one returns true.

This method exposes the pushRoute notification from SystemChannels.navigation.

Implementation

// ignore: comment_references
/// This method exposes the `pushRoute` notification from [SystemChannels.navigation].
@Deprecated('Use didPushRouteInformation instead. '
    'This feature was deprecated after v3.8.0-14.0.pre.')
Future<bool> didPushRoute(String route) async => false;