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