offset property

Offset offset

Offset from parent in the parent's coordinate system.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

The offset property must be non-null before the compositing phase of the pipeline.

Implementation

Offset get offset => _offset;
void offset=(Offset value)

Implementation

set offset(Offset value) {
  if (value != _offset) {
    markNeedsAddToScene();
  }
  _offset = value;
}