Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
cfc2ae6e
Unverified
Commit
cfc2ae6e
authored
Aug 10, 2022
by
Jonah Williams
Committed by
GitHub
Aug 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "disable new transition while toPictureSync is fixed" (#109327)
parent
2f4e9536
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
page_transitions_theme.dart
...ages/flutter/lib/src/material/page_transitions_theme.dart
+1
-1
page_test.dart
packages/flutter/test/material/page_test.dart
+1
-1
No files found.
packages/flutter/lib/src/material/page_transitions_theme.dart
View file @
cfc2ae6e
...
@@ -602,7 +602,7 @@ class ZoomPageTransitionsBuilder extends PageTransitionsBuilder {
...
@@ -602,7 +602,7 @@ class ZoomPageTransitionsBuilder extends PageTransitionsBuilder {
return
_ZoomPageTransition
(
return
_ZoomPageTransition
(
animation:
animation
,
animation:
animation
,
secondaryAnimation:
secondaryAnimation
,
secondaryAnimation:
secondaryAnimation
,
preferRasterization:
false
,
// TODO(jonahwilliams): https://github.com/flutter/flutter/issues/108389
preferRasterization:
route
?.
preferRasterization
??
true
,
child:
child
,
child:
child
,
);
);
}
}
...
...
packages/flutter/test/material/page_test.dart
View file @
cfc2ae6e
...
@@ -174,7 +174,7 @@ void main() {
...
@@ -174,7 +174,7 @@ void main() {
MaterialApp
(
MaterialApp
(
onGenerateRoute:
(
RouteSettings
settings
)
{
onGenerateRoute:
(
RouteSettings
settings
)
{
return
MaterialPageRoute
<
void
>(
return
MaterialPageRoute
<
void
>(
// Defaults to false for _ZoomPageTransition due to https://github.com/flutter/flutter/issues/108389
preferRasterization:
false
,
builder:
(
BuildContext
context
)
{
builder:
(
BuildContext
context
)
{
if
(
settings
.
name
==
'/'
)
{
if
(
settings
.
name
==
'/'
)
{
return
const
Material
(
child:
Text
(
'Page 1'
));
return
const
Material
(
child:
Text
(
'Page 1'
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment