title: Use Multi Image Picker with Image Cropper
body: <p>I am using the Multi_Image_Picker plugin to get multiple images. Multi_Image_Picker returns a <code>List&lt;Asset&gt;</code> files when selecting multiple images. How would I be able to use Multi_Image_Picker along with Image_Cropper which only accepts the path to the image? I couldn't get the path of the image since its an Asset type. Here is what I've tried in order to achieve it:</p>
  <p>I could get the path of the image:</p>
  <pre><code>final filePath = await FlutterAbsolutePath.getAbsolutePath(assets.identifier);
  </code></pre>
  <p>This works but then flutter_absolute_path plugin requires the minimum android sdk to be 19. Is there another to crop images without converting the Asset File into an Image File?</p>
  <p>I tried converting the Asset to Image File:</p>
  <pre><code>List&lt;File&gt; images = List&lt;File&gt;();
  Directory tempDir = await getTemporaryDirectory();
  final path =tempDir.path;
  for (int i = 0; i &lt; assets.length; i++) {
     images.add(await ProcessImage.assetToFile(
       path: &quot;$path/images/img$i&quot;,
        data: await assets[i].getByteData(quality: 90)));
  }
  </code></pre>
  <p>assetToFile():</p>
  <pre><code>static Future&lt;File&gt; assetToFile({ByteData data, String path})async {
  return File(path).writeAsBytes(
        data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes));
  }
  </code></pre>