PlatformViewLink constructor
- Key? key,
- required PlatformViewSurfaceFactory surfaceFactory,
- required CreatePlatformViewCallback onCreatePlatformView,
- required String viewType,
Construct a PlatformViewLink widget.
See also:
- PlatformViewSurface for details on the widget returned by
surfaceFactory. - PlatformViewCreationParams for how each parameter can be used when implementing
createPlatformView.
Implementation
const PlatformViewLink({
super.key,
required this._surfaceFactory,
required this._onCreatePlatformView,
required this.viewType,
});