title: How to share image with share package in Flutter
body: <p>Somewhere on stack i found an answer about how to share image trough share package (<a href="https://pub.dartlang.org/packages/share#-readme-tab-" rel="nofollow noreferrer">https://pub.dartlang.org/packages/share#-readme-tab-</a>), and someone said to convert Bytes to base64 encoding and then share this string like that:</p>
  
  <pre><code>ByteData byteData = await image.toByteData(format: ui.ImageByteFormat.png);
  
    Uint8List pngBytes = byteData.buffer.asUint8List();
    String bs64 = base64Encode(pngBytes);
  
    await Share.share(bs64).then((response){
     Future.delayed(const Duration(milliseconds: 2000), () {
        setState(() {
          loadingShare = false;
          loadingShareIndex = -1;
        });
      });
    });`
  </code></pre>
  
  <p>I excpected to show an image but only shows long string to share...</p>