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
75a63e0b
Commit
75a63e0b
authored
Sep 02, 2015
by
Hans Muller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos in GestureDetector syncConstructorArguments
parent
b9702808
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
gesture_detector.dart
packages/flutter/lib/src/widgets/gesture_detector.dart
+6
-6
scrollable.dart
packages/flutter/lib/src/widgets/scrollable.dart
+0
-4
No files found.
packages/flutter/lib/src/widgets/gesture_detector.dart
View file @
75a63e0b
...
...
@@ -52,12 +52,12 @@ class GestureDetector extends StatefulComponent {
onTap
=
source
.
onTap
;
onShowPress
=
source
.
onShowPress
;
onLongPress
=
source
.
onLongPress
;
onVerticalScrollStart
=
onVerticalScrollStart
;
onVerticalScrollUpdate
=
onVerticalScrollUpdate
;
onVerticalScrollEnd
=
onVerticalScrollEnd
;
onHorizontalScrollStart
=
onHorizontalScrollStart
;
onHorizontalScrollUpdate
=
onHorizontalScrollUpdate
;
onHorizontalScrollEnd
=
onHorizontalScrollEnd
;
onVerticalScrollStart
=
source
.
onVerticalScrollStart
;
onVerticalScrollUpdate
=
source
.
onVerticalScrollUpdate
;
onVerticalScrollEnd
=
source
.
onVerticalScrollEnd
;
onHorizontalScrollStart
=
source
.
onHorizontalScrollStart
;
onHorizontalScrollUpdate
=
source
.
onHorizontalScrollUpdate
;
onHorizontalScrollEnd
=
source
.
onHorizontalScrollEnd
;
onPanStart
=
source
.
onPanStart
;
onPanUpdate
=
source
.
onPanUpdate
;
onPanEnd
=
source
.
onPanEnd
;
...
...
packages/flutter/lib/src/widgets/scrollable.dart
View file @
75a63e0b
...
...
@@ -558,10 +558,6 @@ class PageableList<T> extends ScrollableList<T> {
.
clamp
(
scrollBehavior
.
minScrollOffset
,
scrollBehavior
.
maxScrollOffset
);
}
EventDisposition
_handlePointerDown
(
_
)
{
return
EventDisposition
.
ignored
;
}
EventDisposition
_handleFlingStart
(
sky
.
GestureEvent
event
)
{
double
velocity
=
_eventVelocity
(
event
);
double
newScrollOffset
=
_snapScrollOffset
(
scrollOffset
+
velocity
.
sign
*
itemExtent
)
...
...
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