onPanUpdate method
Implementation
@override
Future<void> onPanUpdate(int viewId, bool isStart, double x, double y) async {
if (Platform.isIOS) {
try {
var methodChannel = MethodChannel('${channelPrefix}_$viewId');
await methodChannel.invokeMethod<void>('onPanUpdate', {
'isStart': isStart,
'x': x,
'y': y,
});
} on PlatformException catch (e) {
debugPrint('${e.code}: ${e.message}');
}
}
}