canvasBounds property Null safety

Rect canvasBounds
final

The bounds that were used for the canvas that drew this layer's picture.

This is purely advisory. It is included in the information dumped with debugDumpLayerTree (which can be triggered by pressing "L" when using "flutter run" at the console), which can help debug why certain drawing commands are being culled.

Implementation

final Rect canvasBounds;