transform property

set transform (Matrix4 value)

The matrix to transform the child by during painting. The provided value is copied on assignment.

There is no getter for transform, because Matrix4 is mutable, and mutations outside of the control of the render object could not reliably be reflected in the rendering.

Implementation

set transform(Matrix4 value) { // ignore: avoid_setters_without_getters
  if (_transform == value) {
    return;
  }
  _transform = Matrix4.copy(value);
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}