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
e8d99d12
Unverified
Commit
e8d99d12
authored
May 11, 2018
by
xster
Committed by
GitHub
May 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix backdrop demo margin for iPhone X (#17480)
parent
e42c50cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
backdrop_demo.dart
...ples/flutter_gallery/lib/demo/material/backdrop_demo.dart
+6
-1
No files found.
examples/flutter_gallery/lib/demo/material/backdrop_demo.dart
View file @
e8d99d12
...
...
@@ -315,7 +315,12 @@ class _BackdropDemoState extends State<BackdropDemo> with SingleTickerProviderSt
final
double
panelTop
=
panelSize
.
height
-
panelTitleHeight
;
final
Animation
<
RelativeRect
>
panelAnimation
=
new
RelativeRectTween
(
begin:
new
RelativeRect
.
fromLTRB
(
0.0
,
panelTop
,
0.0
,
panelTop
-
panelSize
.
height
),
begin:
new
RelativeRect
.
fromLTRB
(
0.0
,
panelTop
-
MediaQuery
.
of
(
context
).
padding
.
bottom
,
0.0
,
panelTop
-
panelSize
.
height
,
),
end:
const
RelativeRect
.
fromLTRB
(
0.0
,
0.0
,
0.0
,
0.0
),
).
animate
(
new
CurvedAnimation
(
...
...
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