Enable
The User feedback module is enabled by default.
You're viewing the Flutter docs. Other platforms →
iOS
Android
React Native
This is how you disable it:
- First, set the
setUserFeedbackEnabled
flag tofalse
. - Then, call the
Shake.start
method.
main.dart
Shake.setUserFeedbackEnabled(false);