shake_detector library Null safety

Classes

ShakeDetector
Detects phone shaking. If more than 75% of the samples taken in the past 0.5s are accelerating, the device is a) shaking, or b) free falling 1.84m (h = 1/2gt^2*3/4).