如何禁用传感器

你可以使用以下代码:

...

Tilt(
  tiltConfig: const TiltConfig(
+   enableGestureSensors: false,
    ...
  ),
  ...
),

...