title: error: Only static members can be accessed in initializers
body: <p>i will import images BASE64 stored in DB.</p>
  
  <p>code : </p>
  
  <pre><code>profileimage()async{
      var userimage1 = await DBHelper().getuserIMAGE1('roro');
      print(userimage1);
      if(userimage1 == Null){
        print('Empty');
      }else{
        setState(() {
          userimage1.map((e) {
            tmpimage = e['image0'];
          }).toList();
          print(tmpimage);
          _TmpBytesImage = Base64Decoder().convert(tmpimage);
          print(_TmpBytesImage);
          return Image.memory(_TmpBytesImage);
        });
      }
    }
    File pimage = profileimage();  &lt;&lt; error
  </code></pre>
  
  <p>and i got error 'flutter: Only static members can be accessed in initializers'</p>
  
  <p>how can i do? </p>