Commit 07e8a62c authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated removeRoute doc (#10300)

parent 0cadbce4
......@@ -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<dynamic> route) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment