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
260cfcdb
Commit
260cfcdb
authored
Aug 05, 2016
by
Matt Perry
Committed by
GitHub
Aug 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pesto: Prevent overscrolling on recipe page. (#5237)
BUG=
https://github.com/flutter/flutter/issues/5098
parent
4a8dbb0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
+23
-20
pesto_demo.dart
examples/flutter_gallery/lib/demo/pesto_demo.dart
+23
-20
No files found.
examples/flutter_gallery/lib/demo/pesto_demo.dart
View file @
260cfcdb
...
@@ -345,27 +345,30 @@ class _RecipePageState extends State<_RecipePage> {
...
@@ -345,27 +345,30 @@ class _RecipePageState extends State<_RecipePage> {
)
)
)
)
),
),
new
ScrollableViewport
(
new
ClampOverscrolls
(
child:
new
RepaintBoundary
(
value:
true
,
child:
new
Padding
(
child:
new
ScrollableViewport
(
padding:
new
EdgeInsets
.
only
(
top:
appBarHeight
),
child:
new
RepaintBoundary
(
child:
new
Stack
(
child:
new
Padding
(
children:
<
Widget
>[
padding:
new
EdgeInsets
.
only
(
top:
appBarHeight
),
new
Padding
(
child:
new
Stack
(
padding:
new
EdgeInsets
.
only
(
top:
fabHalfSize
),
children:
<
Widget
>[
child:
new
SizedBox
(
new
Padding
(
width:
fullWidth
?
null
:
_kRecipePageMaxWidth
,
padding:
new
EdgeInsets
.
only
(
top:
fabHalfSize
),
child:
new
_RecipeSheet
(
recipe:
config
.
recipe
)
child:
new
SizedBox
(
)
width:
fullWidth
?
null
:
_kRecipePageMaxWidth
,
),
child:
new
_RecipeSheet
(
recipe:
config
.
recipe
)
new
Positioned
(
)
right:
16.0
,
),
child:
new
FloatingActionButton
(
new
Positioned
(
child:
new
Icon
(
isFavorite
?
Icons
.
favorite
:
Icons
.
favorite_border
),
right:
16.0
,
onPressed:
_toggleFavorite
child:
new
FloatingActionButton
(
child:
new
Icon
(
isFavorite
?
Icons
.
favorite
:
Icons
.
favorite_border
),
onPressed:
_toggleFavorite
)
)
)
)
]
]
)
)
)
)
)
)
)
...
...
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