buildView method

Widget buildView(
  1. Map<String, dynamic> creationParams,
  2. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  3. PlatformViewCreatedCallback onPlatformViewCreated
)

Implementation

Widget buildView(
    Map<String, dynamic> creationParams,
    Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
    PlatformViewCreatedCallback onPlatformViewCreated) {
  return AndroidView(
    viewType: Channel.channel,
    onPlatformViewCreated: onPlatformViewCreated,
    gestureRecognizers: gestureRecognizers,
    creationParams: creationParams,
    creationParamsCodec: const StandardMessageCodec(),
  );
}