accel top-level property Core Systems

Accelerometer get accel

{@category Core_Systems} Provides access to the device's accelerometer data.

Use this to detect device motion and orientation changes.

Implementation

Accelerometer get accel => App.instance.accel;