UiKitView constructor Null safety
- {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.
The viewType and hitTestBehavior parameters must not be null.
If creationParams is not null then creationParamsCodec must not be null.
Implementation
const UiKitView({
  super.key,
  required this.viewType,
  this.onPlatformViewCreated,
  this.hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  this.layoutDirection,
  this.creationParams,
  this.creationParamsCodec,
  this.gestureRecognizers,
}) : assert(viewType != null),
     assert(hitTestBehavior != null),
     assert(creationParams == null || creationParamsCodec != null);