TransformLayer constructor

TransformLayer({Matrix4 transform, Offset offset: Offset.zero })

Creates a transform layer.

The transform and offset properties must be non-null before the compositing phase of the pipeline.

Implementation

TransformLayer({ Matrix4 transform, Offset offset = Offset.zero })
  : _transform = transform,
    super(offset: offset);