File tree Expand file tree Collapse file tree
packages/flame/lib/src/gestures Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ mixin TapDetector on Game {
1818 }
1919}
2020
21+ @Deprecated ('Use SecondaryTapCallbacks instead' )
2122mixin SecondaryTapDetector on Game {
2223 void onSecondaryTapDown (TapDownInfo info) {}
2324 void onSecondaryTapUp (TapUpInfo info) {}
@@ -32,6 +33,7 @@ mixin SecondaryTapDetector on Game {
3233 }
3334}
3435
36+ @Deprecated ('Use TertiaryTapCallbacks instead' )
3537mixin TertiaryTapDetector on Game {
3638 void onTertiaryTapDown (TapDownInfo info) {}
3739 void onTertiaryTapUp (TapUpInfo info) {}
@@ -46,6 +48,7 @@ mixin TertiaryTapDetector on Game {
4648 }
4749}
4850
51+ @Deprecated ('Use DoubleTapCallbacks instead' )
4952mixin DoubleTapDetector on Game {
5053 void onDoubleTap () {}
5154 void onDoubleTapCancel () {}
@@ -56,6 +59,7 @@ mixin DoubleTapDetector on Game {
5659 }
5760}
5861
62+ @Deprecated ('Use LongPressCallbacks instead' )
5963mixin LongPressDetector on Game {
6064 void onLongPress () {}
6165 void onLongPressStart (LongPressStartInfo info) {}
You can’t perform that action at this time.
0 commit comments