Commit 936c6e36 authored by Collin Jackson's avatar Collin Jackson Committed by GitHub

Remove dead code for hero overlay inserting (#11841)

parent 400f118d
......@@ -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
......
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