Drive-by fix for TODO (#28669)

This commit is contained in:
Michael Goderbauer
2019-02-28 15:51:54 -08:00
committed by GitHub
parent ccdd50578c
commit d6c0f3388f

View File

@@ -81,10 +81,6 @@ abstract class TransitionRoute<T> extends OverlayRoute<T> {
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<T> extends TransitionRoute<T> with LocalHistoryRoute<T
/// Creates a route that blocks interaction with previous routes.
ModalRoute({
RouteSettings settings,
}) : super._settings(settings);
}) : super(settings: settings);
// The API for general users of this class