Flutter: How to handle gestures on PlatformView?

Viewed 13

I have written map which works via platformView on Flutter, currently I want to handle onDragEnd event which is on the platform side (iOS or Android), e.g.

UiKitView(
 viewType: viewType,
 layoutDirection: TextDirection.ltr,
 creationParams: creationParams,
 creationParamsCodec: const StandardMessageCodec(),
 onDragEnd: () { // something like this
  //do something
 }
),
0 Answers
Related