controller property

PlatformViewController controller

The controller for this render object.

Implementation

PlatformViewController get controller => _controller;
void controller=(covariant PlatformViewController controller)
covariant

Setting this value to a new value will result in a repaint.

Implementation

set controller(covariant PlatformViewController controller) {
  assert(controller.viewId > -1);

  if (_controller == controller) {
    return;
  }
  final bool needsSemanticsUpdate = _controller.viewId != controller.viewId;
  _controller = controller;
  markNeedsPaint();
  if (needsSemanticsUpdate) {
    markNeedsSemanticsUpdate();
  }
}