buildView method

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

Implementation

@override
Widget buildView(
    Map<String, dynamic> creationParams,
    OnPlatformViewCreatedCallback onPlatformViewCreated,
    Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers) {
  _creationParams = creationParams;
  _registerViewFactory(onPlatformViewCreated, this.hashCode);
  return HtmlElementView(
      viewType: 'plugins.flutter.io/mapsm_lv_${this.hashCode}');
}