shake property

ShakeOptions? shake
final

Shake-to-report. Null (the default) means off.

Opt-in by construction: this package takes no plugin dependencies, so you supply the accelerometer. With no ShakeOptions.accelerometer nothing listens and the button stays the way in.

Implementation

final ShakeOptions? shake;