TransformLayer constructor

TransformLayer({
  1. Matrix4? transform,
  2. 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, super.offset })
  : _transform = transform;