[Flutter] Proper shake detection in Shaky Rock-Paper-Scissors

About Flutter

Less straightforward parts

Rotating background

Reveal page transition

Proper shake detection

  • TYPE_ACCELEROMETER (Accelerometer): The raw accelerometer data which contains gravitational force (you can get rid of noise using low key pass but there’s more to it).
  • TYPE_LINEAR_ACCELERATION (UserAccelerometer): This provides values without gravitational force but also takes compass and gyroscope into consideration so it provides a more reliable input.

Performance

Conclusion

Choosing the unknown

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Image recognition with customized notification using AWS

Technical interviews — binary search

AWS CDK — Setup the CDK & Create an S3 Bucket on the Fly and Upload Files to it Dynamically

SigintOS with SDR demos

Bootstrap Fundamentals

Not All Microservices Need to Be REST — 3 Alternatives to the Classic

Big Sur L2TP VPN Blues!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
József Koller

József Koller

Choosing the unknown

More from Medium

My Flutter Islamic Calendar App

Building Android Widgets In Flutter: Remember these Simple Points

Custom Option Selection Widget — Flutter.

Flutter Experience