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
4d68bc87
Commit
4d68bc87
authored
Aug 13, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #605 from abarth/long_press
Expose longpress and showpress in Listener
parents
130119df
3523a10a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
framework.dart
packages/flutter/lib/widgets/framework.dart
+10
-0
No files found.
packages/flutter/lib/widgets/framework.dart
View file @
4d68bc87
...
@@ -481,8 +481,10 @@ class Listener extends TagNode {
...
@@ -481,8 +481,10 @@ class Listener extends TagNode {
GestureEventListener
onGestureFlingStart
,
GestureEventListener
onGestureFlingStart
,
GestureEventListener
onGestureScrollStart
,
GestureEventListener
onGestureScrollStart
,
GestureEventListener
onGestureScrollUpdate
,
GestureEventListener
onGestureScrollUpdate
,
GestureEventListener
onGestureLongPress
,
GestureEventListener
onGestureTap
,
GestureEventListener
onGestureTap
,
GestureEventListener
onGestureTapDown
,
GestureEventListener
onGestureTapDown
,
GestureEventListener
onGestureShowPress
,
PointerEventListener
onPointerCancel
,
PointerEventListener
onPointerCancel
,
PointerEventListener
onPointerDown
,
PointerEventListener
onPointerDown
,
PointerEventListener
onPointerMove
,
PointerEventListener
onPointerMove
,
...
@@ -496,6 +498,8 @@ class Listener extends TagNode {
...
@@ -496,6 +498,8 @@ class Listener extends TagNode {
onGestureScrollStart:
onGestureScrollStart
,
onGestureScrollStart:
onGestureScrollStart
,
onGestureTap:
onGestureTap
,
onGestureTap:
onGestureTap
,
onGestureTapDown:
onGestureTapDown
,
onGestureTapDown:
onGestureTapDown
,
onGestureLongPress:
onGestureLongPress
,
onGestureShowPress:
onGestureShowPress
,
onPointerCancel:
onPointerCancel
,
onPointerCancel:
onPointerCancel
,
onPointerDown:
onPointerDown
,
onPointerDown:
onPointerDown
,
onPointerMove:
onPointerMove
,
onPointerMove:
onPointerMove
,
...
@@ -514,6 +518,8 @@ class Listener extends TagNode {
...
@@ -514,6 +518,8 @@ class Listener extends TagNode {
GestureEventListener
onGestureScrollUpdate
,
GestureEventListener
onGestureScrollUpdate
,
GestureEventListener
onGestureTap
,
GestureEventListener
onGestureTap
,
GestureEventListener
onGestureTapDown
,
GestureEventListener
onGestureTapDown
,
GestureEventListener
onGestureLongPress
,
GestureEventListener
onGestureShowPress
,
PointerEventListener
onPointerCancel
,
PointerEventListener
onPointerCancel
,
PointerEventListener
onPointerDown
,
PointerEventListener
onPointerDown
,
PointerEventListener
onPointerMove
,
PointerEventListener
onPointerMove
,
...
@@ -538,6 +544,10 @@ class Listener extends TagNode {
...
@@ -538,6 +544,10 @@ class Listener extends TagNode {
listeners
[
'gesturetap'
]
=
onGestureTap
;
listeners
[
'gesturetap'
]
=
onGestureTap
;
if
(
onGestureTapDown
!=
null
)
if
(
onGestureTapDown
!=
null
)
listeners
[
'gesturetapdown'
]
=
onGestureTapDown
;
listeners
[
'gesturetapdown'
]
=
onGestureTapDown
;
if
(
onGestureLongPress
!=
null
)
listeners
[
'gesturelongpress'
]
=
onGestureLongPress
;
if
(
onGestureShowPress
!=
null
)
listeners
[
'gestureshowpress'
]
=
onGestureShowPress
;
if
(
onPointerCancel
!=
null
)
if
(
onPointerCancel
!=
null
)
listeners
[
'pointercancel'
]
=
onPointerCancel
;
listeners
[
'pointercancel'
]
=
onPointerCancel
;
if
(
onPointerDown
!=
null
)
if
(
onPointerDown
!=
null
)
...
...
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