From 07e8a62cc54132099a275416fa82a3c94ccad9f8 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Wed, 24 May 2017 16:14:09 -0700 Subject: [PATCH] Updated removeRoute doc (#10300) --- packages/flutter/lib/src/widgets/navigator.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter/lib/src/widgets/navigator.dart b/packages/flutter/lib/src/widgets/navigator.dart index c89d7d3e93..e6ee219b53 100644 --- a/packages/flutter/lib/src/widgets/navigator.dart +++ b/packages/flutter/lib/src/widgets/navigator.dart @@ -684,6 +684,9 @@ class Navigator extends StatefulWidget { /// the [Navigator] has any [Navigator.observers], they will be notified with /// [NavigatorObserver.didRemove]. /// + /// The routes before and after the removed route, if any, are notified with + /// [Route.didChangeNext] and [Route.didChangePrevious]. + /// /// This method is used to dismiss dropdown menus that are up when the screen's /// orientation changes. static void removeRoute(BuildContext context, Route route) {