PaintingContext constructor Null safety

  1. @protected
PaintingContext(
  1. ContainerLayer _containerLayer,
  2. Rect estimatedBounds
)

Creates a painting context.

Typically only called by PaintingContext.repaintCompositedChild and pushLayer.

Implementation

@protected
PaintingContext(this._containerLayer, this.estimatedBounds)
  : assert(_containerLayer != null),
    assert(estimatedBounds != null);