UiKitReferenceWidget constructor
UiKitReferenceWidget({
- Key? key,
- required Object instance,
- InstanceManager? instanceManager,
- String viewType = 'github.penguin.reference/UiKitReferenceWidget',
- PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
- Set<
Factory< gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},OneSequenceGestureRecognizer> > - TextDirection layoutDirection = TextDirection.rtl,
- PlatformViewCreatedCallback? platformViewCreatedListener,
Construct a UiKitReferenceWidget widget.
Implementation
UiKitReferenceWidget({
Key? key,
required this.instance,
InstanceManager? instanceManager,
this.viewType = 'github.penguin.reference/UiKitReferenceWidget',
this.hitTestBehavior = PlatformViewHitTestBehavior.opaque,
this.gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},
this.layoutDirection = TextDirection.rtl,
this.platformViewCreatedListener,
}) : _instanceManager =
instanceManager ?? MethodChannelMessenger.instance.instanceManager,
assert(defaultTargetPlatform == TargetPlatform.iOS),
super(key: key);