title: Convert Uint8List to File
body: <p>I'm using Image Picker web which works well. I can display image in <code>Image.memory()</code>, but this image in format Uintlist8.  For save in storage need format <code>File</code>, my issue is how to save an image in <strong>Firebase Storage</strong>.</p>
  
  <p>Web image picker: </p>
  
  <pre><code>class _SecondPageState extends State&lt;SecondPage&gt; {
    final _formkey = GlobalKey&lt;FormState&gt;();
    Uint8List _image;
  
    getImage() async {
      Uint8List tempImg = await ImagePickerWeb.getImage(asUint8List: true);
      if (tempImg != null) {
        setState(() {
        _image = tempImg;
      });
    }
  }
  </code></pre>