package:sensors_plus allows you to access a phone’s sensors so you can tell if a user’s device is tilting, moving, falling, and more. Learn how to access the accelerometer and the gyroscope to create a unique user experience.
Add this package to your apps with pub add sensors_plus
#flutter