HtmlElementView constructor

const HtmlElementView({
  1. Key? key,
  2. required String viewType,
  3. PlatformViewCreatedCallback? onPlatformViewCreated,
  4. Object? creationParams,
})

Creates a platform view for Flutter web.

viewType identifies the type of platform view to create.

Implementation

const HtmlElementView({
  super.key,
  required this.viewType,
  this.onPlatformViewCreated,
  this.creationParams,
});