viewController property

T viewController

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

Implementation

T get viewController => _viewController;
void 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();
  }
}