Unverified Commit cfc2ae6e authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Revert "disable new transition while toPictureSync is fixed" (#109327)

parent 2f4e9536
......@@ -602,7 +602,7 @@ class ZoomPageTransitionsBuilder extends PageTransitionsBuilder {
return _ZoomPageTransition(
animation: animation,
secondaryAnimation: secondaryAnimation,
preferRasterization: false, // TODO(jonahwilliams): https://github.com/flutter/flutter/issues/108389
preferRasterization: route?.preferRasterization ?? true,
child: child,
);
}
......
......@@ -174,7 +174,7 @@ void main() {
MaterialApp(
onGenerateRoute: (RouteSettings settings) {
return MaterialPageRoute<void>(
// Defaults to false for _ZoomPageTransition due to https://github.com/flutter/flutter/issues/108389
preferRasterization: false,
builder: (BuildContext context) {
if (settings.name == '/') {
return const Material(child: Text('Page 1'));
......
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