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