OpacityLayer constructor
Creates an opacity layer.
The alpha
property must be non-null before the compositing phase of
the pipeline.
Implementation
OpacityLayer({
int? alpha,
super.offset,
}) : _alpha = alpha;
Creates an opacity layer.
The alpha
property must be non-null before the compositing phase of
the pipeline.
OpacityLayer({
int? alpha,
super.offset,
}) : _alpha = alpha;