setGesturesEnabled method
设置手势操作开关
Implementation
Future<bool> setGesturesEnabled(bool isEnable) async {
try {
return await _channel.invokeMethod('setGesturesEnabled', {"isEnable": isEnable});
} on PlatformException catch (e) {
print("Failed to setGesturesEnabled: '${e.message}'.");
return false;
}
}