ShakeDetector.waitForStart constructor
ShakeDetector.waitForStart({
- PhoneShakeCallback? onPhoneShake,
- double shakeThresholdGravity = 2.7,
- int shakeSlopTimeMS = 500,
- int shakeCountResetTime = 3000,
This constructor waits until startListening
is called
Implementation
ShakeDetector.waitForStart({
this.onPhoneShake,
this.shakeThresholdGravity = 2.7,
this.shakeSlopTimeMS = 500,
this.shakeCountResetTime = 3000,
});