Answers for "how to encode file to base 64 in flutte"

3

flutter convert file to base64

final bytes = Io.File(imageBytes.path).readAsBytesSync();

String img64 = base64Encode(bytes);
Posted by: Guest on June-06-2021

Browse Popular Code Answers by Language