feat: add trackpad listener support based on flutter 3.3

This commit is contained in:
Kingtous
2023-02-01 16:29:13 +08:00
parent 4d3f2bca6b
commit cbf0da6195
2 changed files with 2 additions and 4 deletions

View File

@@ -310,7 +310,7 @@ class InputModel {
}
}
/*
int _signOrZero(num x) {
if (x == 0) {
return 0;
@@ -361,7 +361,7 @@ class InputModel {
trackpadScrollDistance = Offset.zero;
}
*/
void onPointDownImage(PointerDownEvent e) {
debugPrint("onPointDownImage");