Remove dead code for hero overlay inserting (#11841)

This commit is contained in:
Collin Jackson 2017-08-31 17:13:30 -07:00 committed by GitHub
parent 400f118d92
commit 936c6e3616

View File

@ -6,7 +6,6 @@ import 'package:flutter/foundation.dart';
import 'basic.dart';
import 'framework.dart';
import 'navigator.dart';
import 'overlay.dart';
import 'routes.dart';
/// A modal route that replaces the entire screen.
@ -44,11 +43,6 @@ abstract class PageRoute<T> extends ModalRoute<T> {
controller.value = 1.0;
return controller;
}
/// Subclasses can override this method to customize how heroes are inserted.
void insertHeroOverlayEntry(OverlayEntry entry, Object tag, OverlayState overlay) {
overlay.insert(entry);
}
}
/// Signature for the [PageRouteBuilder] function that builds the route's