OffsetLayer constructor
Creates an offset layer.
By default, offset
is zero. It must be non-null before the compositing
phase of the pipeline.
Implementation
OffsetLayer({ Offset offset = Offset.zero }) : _offset = offset;
Creates an offset layer.
By default, offset
is zero. It must be non-null before the compositing
phase of the pipeline.
OffsetLayer({ Offset offset = Offset.zero }) : _offset = offset;