ecomment-394197336">https://github.com/flutter/flutter/issues/18057#issuecomment-394197336</a>
for a difference between paint without saveLayer and paint with saveLayer.)</p>
<p>This will be only rarely needed. One case where you might need this is if
you have an image overlaid on a very different background color. In these
cases, consider whether you can avoid overlaying multiple colors in one
spot (e.g. by having the background color only present where the image is
absent). If you can, <a href="dart-ui/Cl