PlatformViewSurfaceFactory typedef

Widget PlatformViewSurfaceFactory (
  1. BuildContext context,
  2. 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);