UiKitView constructor

const UiKitView(
  1. {Key? key,
  2. required String viewType,
  3. PlatformViewCreatedCallback? onPlatformViewCreated,
  4. PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  5. TextDirection? layoutDirection,
  6. dynamic creationParams,
  7. MessageCodec? creationParamsCodec,
  8. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers}
)

Creates a widget that embeds an iOS view.

If creationParams is not null then creationParamsCodec must not be null.

Implementation

const UiKitView({
  super.key,
  required super.viewType,
  super.onPlatformViewCreated,
  super.hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  super.layoutDirection,
  super.creationParams,
  super.creationParamsCodec,
  super.gestureRecognizers,
}) : assert(creationParams == null || creationParamsCodec != null);