Remove dead code for hero overlay inserting (#11841)
This commit is contained in:
parent
400f118d92
commit
936c6e3616
@ -6,7 +6,6 @@ import 'package:flutter/foundation.dart';
|
|||||||
import 'basic.dart';
|
import 'basic.dart';
|
||||||
import 'framework.dart';
|
import 'framework.dart';
|
||||||
import 'navigator.dart';
|
import 'navigator.dart';
|
||||||
import 'overlay.dart';
|
|
||||||
import 'routes.dart';
|
import 'routes.dart';
|
||||||
|
|
||||||
/// A modal route that replaces the entire screen.
|
/// A modal route that replaces the entire screen.
|
||||||
@ -44,11 +43,6 @@ abstract class PageRoute<T> extends ModalRoute<T> {
|
|||||||
controller.value = 1.0;
|
controller.value = 1.0;
|
||||||
return controller;
|
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
|
/// Signature for the [PageRouteBuilder] function that builds the route's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user