setShakingThresholdForiPhone static method
Sets the threshold value of the shake gesture for iPhone/iPod Touch
Default for iPhone is 2.5.
iPhoneShakingThreshold
iPhoneShakingThreshold double
Implementation
static Future<void> setShakingThresholdForiPhone(
double iPhoneShakingThreshold) async {
if (PlatformManager.instance.isIOS()) {
final List<dynamic> params = <dynamic>[iPhoneShakingThreshold];
await _channel.invokeMethod<Object>(
'setShakingThresholdForiPhone:', params);
}
}