viewController property Null safety
The unique identifier of the UIView controlled by this controller.
Typically generated by PlatformViewsRegistry.getNextPlatformViewId, the UIView must have been created by calling PlatformViewsService.initUiKitView.
Implementation
UiKitViewController get viewController => _viewController;
Implementation
set viewController(UiKitViewController viewController) {
assert(viewController != null);
final bool needsSemanticsUpdate = _viewController.id != viewController.id;
_viewController = viewController;
markNeedsPaint();
if (needsSemanticsUpdate) {
markNeedsSemanticsUpdate();
}
}