Unverified Commit 15cdaff0 authored by Marcel Kirchhoff's avatar Marcel Kirchhoff Committed by GitHub

Add debug property for onPointerHover (#96555)

parent 4d5c0264
...@@ -6135,6 +6135,7 @@ class Listener extends SingleChildRenderObjectWidget { ...@@ -6135,6 +6135,7 @@ class Listener extends SingleChildRenderObjectWidget {
if (onPointerDown != null) 'down', if (onPointerDown != null) 'down',
if (onPointerMove != null) 'move', if (onPointerMove != null) 'move',
if (onPointerUp != null) 'up', if (onPointerUp != null) 'up',
if (onPointerHover != null) 'hover',
if (onPointerCancel != null) 'cancel', if (onPointerCancel != null) 'cancel',
if (onPointerSignal != null) 'signal', if (onPointerSignal != null) 'signal',
]; ];
......
...@@ -406,6 +406,7 @@ void main() { ...@@ -406,6 +406,7 @@ void main() {
onPointerDown: (PointerDownEvent event) {}, onPointerDown: (PointerDownEvent event) {},
onPointerUp: (PointerUpEvent event) {}, onPointerUp: (PointerUpEvent event) {},
onPointerMove: (PointerMoveEvent event) {}, onPointerMove: (PointerMoveEvent event) {},
onPointerHover: (PointerHoverEvent event) {},
onPointerCancel: (PointerCancelEvent event) {}, onPointerCancel: (PointerCancelEvent event) {},
onPointerSignal: (PointerSignalEvent event) {}, onPointerSignal: (PointerSignalEvent event) {},
behavior: HitTestBehavior.opaque, behavior: HitTestBehavior.opaque,
...@@ -422,7 +423,7 @@ void main() { ...@@ -422,7 +423,7 @@ void main() {
'constraints: MISSING', 'constraints: MISSING',
'size: MISSING', 'size: MISSING',
'behavior: opaque', 'behavior: opaque',
'listeners: down, move, up, cancel, signal', 'listeners: down, move, up, hover, cancel, signal',
]); ]);
}); });
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment