diff --git a/packages/flutter/lib/src/widgets/routes.dart b/packages/flutter/lib/src/widgets/routes.dart index 2ab046f481..74df8f7e3c 100644 --- a/packages/flutter/lib/src/widgets/routes.dart +++ b/packages/flutter/lib/src/widgets/routes.dart @@ -81,10 +81,6 @@ abstract class TransitionRoute extends OverlayRoute { RouteSettings settings, }) : super(settings: settings); - // TODO(ianh): once https://github.com/dart-lang/sdk/issues/31543 is fixed, - // this should be removed. - TransitionRoute._settings(RouteSettings settings) : super(settings: settings); - /// This future completes only once the transition itself has finished, after /// the overlay entries have been removed from the navigator's overlay. /// @@ -681,7 +677,7 @@ abstract class ModalRoute extends TransitionRoute with LocalHistoryRoute