F

flutter_rotation_sensor

The flutter_rotation_sensor plugin provides easy access to the device's physical orientation in three distinct representations: rotation matrix, quaternion, and Euler angles (azimuth, pitch, roll).