viewController property

T get viewController

The unique identifier of the platform view controlled by this controller.

Implementation

T get viewController => _viewController;
set viewController (T value)

Implementation

set viewController(T value) {
  if (_viewController == value) {
    return;
  }
  final bool needsSemanticsUpdate = _viewController.id != value.id;
  _viewController = value;
  markNeedsPaint();
  if (needsSemanticsUpdate) {
    markNeedsSemanticsUpdate();
  }
}