shake_detector library Null safety

Code from https://github.com/deven98/shake Seems to be not maintained for almost 2 years... (01.03.2021).

Classes

ShakeDetector
ShakeDetector class for phone shake functionality

Typedefs

PhoneShakeCallback = Null Function()
Callback for phone shakes