You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -160,7 +160,7 @@ Platforms without sensors support do not affect the normal use of other features
160
160
<!-- > After that maybe replace it with [DeviceMotionEvent][]. -->
161
161
162
162
163
-
## Gestures priority 📱
163
+
## Gesture priority 📱
164
164
165
165
When multiple gestures are enabled, they are triggered based on priority:
166
166
@@ -318,9 +318,12 @@ tiltStreamController.add(
318
318
| enableGestureTouch |`bool`|`true`| Touch gesture triggered tilt. <br/> Only the following gestures: <br/> `GesturesType.touch`|
319
319
| enableRevert |`bool`|`true`| Enable tilt revert, will revert to the initial state. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover` <br/> `GesturesType.controller`|
320
320
| enableOutsideAreaMove |`bool`|`true`| Tilt can continue to be triggered outside the area. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.controller`|
321
+
| enterDuration |`Duration`|`Duration(milliseconds: 1000)`| Animation duration during gesture enter, must be used with `[moveDuration]` and `[enterToMoveDuration]`. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
321
322
| moveDuration |`Duration`|`Duration(milliseconds: 100)`| Animation duration during gesture move. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
323
+
| enterToMoveDuration |`Duration`|`Duration(milliseconds: 600)`| The duration of the transition from enter to move, must be used with `[enterDuration]` and `[moveDuration]`. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
322
324
| leaveDuration |`Duration`|`Duration(milliseconds: 300)`| Animation duration after gesture leave. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
323
325
| moveCurve |`Curve`|`Curves.linear`| Animation curve during gesture move. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
326
+
| enterToMoveCurve |`Curve`|`Curves.easeOutCubic`| The curve of the transition from enter to move, must be used with `[enterToMoveDuration]`. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
324
327
| leaveCurve |`Curve`|`Curves.linear`| Animation curve after gesture leave. <br/> Only the following gestures: <br/> `GesturesType.touch` <br/> `GesturesType.hover`|
325
328
| controllerMoveDuration |`Duration`|`Duration(milliseconds: 100)`| Animation duration during controller gesture move. <br/> Only the following gestures: <br/> `GesturesType.controller`|
326
329
| controllerLeaveDuration |`Duration`|`Duration(milliseconds: 300)`| Animation duration after controller gesture leave. <br/> Only the following gestures: <br/> `GesturesType.controller`|
0 commit comments