setShakingThresholdForiPhone static method

Future<void> setShakingThresholdForiPhone(
  1. double threshold
)

Sets the threshold value of the shake gesture for iPhone/iPod Touch Default for iPhone is 2.5. threshold iPhoneShakingThreshold double

Implementation

static Future<void> setShakingThresholdForiPhone(double threshold) async {
  if (IBGBuildInfo.instance.isIOS) {
    return _host.setShakingThresholdForiPhone(threshold);
  }
}