saveLayers property
If true
, the canvas will be updated on every frame by calling the
methods Canvas.saveLayer and Canvas.restore.
By default, this value is set to false
to improve performance on
layers containing a lot of polylines.
You might want to set this to true
if you get unwanted darker lines
where they overlap but, keep in mind that this might reduce the
performance of the layer.
Implementation
final bool saveLayers;