UiKitView constructor
- Key? key,
- required String viewType,
- PlatformViewCreatedCallback? onPlatformViewCreated,
- PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
- TextDirection? layoutDirection,
- dynamic creationParams,
- MessageCodec? creationParamsCodec,
- Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> >
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);