How do you convert to binary in flutter?

toByteData() method allows converting the image into a byte array. We need to pass the format in the format argument which specifies the format in which the bytes will be returned. It’ll return the future that completes with binary data or error.

Sizin İçin Seçtik  How do I display HTML image in Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *