title: Convert List<XFile> to File in Dart / Flutter
body: <p>I pick a picture using this library <code>image_picker: 0.8.4+4</code>. Then the image saved into List..</p>
  <p>After that i want to show the image in next page and make it ready to edit using this library <code>image_painter: 0.4.4+1</code>.</p>
  <pre><code>ImagePainter.file(
          // Need file,
          key: _imageKey,
          scalable: true,
          initialStrokeWidth: 2,
          initialColor: Colors.green,
          initialPaintMode: PaintMode.line,
        ),
  </code></pre>
  <p>Actually i just need how to convert <code>List&lt;XFile&gt;</code> to <code>File</code></p>