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
d1e907f3
Commit
d1e907f3
authored
Dec 09, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #826 from abarth/gesture_dartdoc
Add some dartdoc for GestureDetector
parents
2f4864ef
25da2cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
gesture_detector.dart
packages/flutter/lib/src/widgets/gesture_detector.dart
+31
-0
No files found.
packages/flutter/lib/src/widgets/gesture_detector.dart
View file @
d1e907f3
...
...
@@ -54,20 +54,51 @@ class GestureDetector extends StatefulComponent {
final
Widget
child
;
/// A pointer that might cause a tap has contacted the screen at a particular
/// location.
final
GestureTapDownCallback
onTapDown
;
/// A pointer that will trigger a tap has stopped contacting the screen at a
/// particular location.
final
GestureTapDownCallback
onTapUp
;
/// A tap has occurred.
final
GestureTapCallback
onTap
;
/// The pointer that previously triggered the [onTapDown] will not end up
/// causing a tap.
final
GestureTapCancelCallback
onTapCancel
;
/// The user has tapped the screen at the same location twice in quick
/// succession.
final
GestureTapCallback
onDoubleTap
;
/// A pointer has remained in contact with the screen at the same location for
/// a long period of time.
final
GestureLongPressCallback
onLongPress
;
/// A pointer has contacted the screen and might begin to move vertically.
final
GestureDragStartCallback
onVerticalDragStart
;
/// A pointer that is in contact with the screen and moving vertically has
/// moved in the vertical direction.
final
GestureDragUpdateCallback
onVerticalDragUpdate
;
/// A pointer that was previously in contact with the screen and moving
/// vertically is no longer in contact with the screen and was moving at a
/// specific velocity when it stopped contacting the screen.
final
GestureDragEndCallback
onVerticalDragEnd
;
/// A pointer has contacted the screen and might begin to move horizontally.
final
GestureDragStartCallback
onHorizontalDragStart
;
/// A pointer that is in contact with the screen and moving horizontally has
/// moved in the horizontal direction.
final
GestureDragUpdateCallback
onHorizontalDragUpdate
;
/// A pointer that was previously in contact with the screen and moving
/// horizontally is no longer in contact with the screen and was moving at a
/// specific velocity when it stopped contacting the screen.
final
GestureDragEndCallback
onHorizontalDragEnd
;
final
GesturePanStartCallback
onPanStart
;
...
...
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