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
7e2434c8
Unverified
Commit
7e2434c8
authored
Jul 30, 2018
by
Jonah Williams
Committed by
GitHub
Jul 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move semantics inside of opacity animation (#19960)
parent
b2eed9a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
popup_menu.dart
packages/flutter/lib/src/material/popup_menu.dart
+13
-13
No files found.
packages/flutter/lib/src/material/popup_menu.dart
View file @
7e2434c8
...
@@ -458,13 +458,19 @@ class _PopupMenu<T> extends StatelessWidget {
...
@@ -458,13 +458,19 @@ class _PopupMenu<T> extends StatelessWidget {
),
),
child:
new
IntrinsicWidth
(
child:
new
IntrinsicWidth
(
stepWidth:
_kMenuWidthStep
,
stepWidth:
_kMenuWidthStep
,
child:
new
SingleChildScrollView
(
child:
new
Semantics
(
padding:
const
EdgeInsets
.
symmetric
(
scopesRoute:
true
,
vertical:
_kMenuVerticalPadding
namesRoute:
true
,
explicitChildNodes:
true
,
label:
semanticLabel
,
child:
new
SingleChildScrollView
(
padding:
const
EdgeInsets
.
symmetric
(
vertical:
_kMenuVerticalPadding
),
child:
new
ListBody
(
children:
children
),
),
),
child:
new
ListBody
(
children:
children
),
),
)
),
)
);
);
return
new
AnimatedBuilder
(
return
new
AnimatedBuilder
(
...
@@ -479,13 +485,7 @@ class _PopupMenu<T> extends StatelessWidget {
...
@@ -479,13 +485,7 @@ class _PopupMenu<T> extends StatelessWidget {
alignment:
AlignmentDirectional
.
topEnd
,
alignment:
AlignmentDirectional
.
topEnd
,
widthFactor:
width
.
evaluate
(
route
.
animation
),
widthFactor:
width
.
evaluate
(
route
.
animation
),
heightFactor:
height
.
evaluate
(
route
.
animation
),
heightFactor:
height
.
evaluate
(
route
.
animation
),
child:
new
Semantics
(
child:
child
,
scopesRoute:
true
,
namesRoute:
true
,
explicitChildNodes:
true
,
label:
semanticLabel
,
child:
child
,
),
),
),
),
),
);
);
...
...
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