PlatformViewSurfaceFactory typedef Null safety

PlatformViewSurfaceFactory = Widget Function(BuildContext context, PlatformViewController controller)

A factory for a surface presenting a platform view as part of the widget hierarchy.

The returned widget should present the platform view associated with controller.

See also:

Implementation

typedef PlatformViewSurfaceFactory = Widget Function(BuildContext context, PlatformViewController controller);