anchor.diff:      try {
         return PictureInfo._(_recorder.endRecording(), _size);
       } finally {
  -      for (final ui.Image image in _images.values) {
  +      for (final Image image in _images.values) {
           image.dispose();
         }
         _images.clear();
  
positive.code: /// Pattern state that holds information about how to construct the pattern.
  class _PatternState {
    /// The canvas that the element should draw to for a given [PatternConfig].
    ui.Canvas? canvas;
  
    /// The image shader created by the pattern.
    ui.ImageShader? shader;
  
    /// The recorder that will capture the newly created canvas.
    ui.PictureRecorder? recorder;
  }
  
  /// Used by [FlutterVectorGraphicsListener] for testing purposes.
  
negative.code:       if (paintId != null) {
          paint!.shader = _patterns[patternId]!.shader;
        } else {
          final Paint newPaint = Paint();
          newPaint.shader = _patterns[patternId]!.shader;
          paint = newPaint;
        }
  