Answers for "how to get image file size in flutter"

0

how to get image file size in flutter

final bytes = image.readAsBytesSync().lengthInBytes;
final kb = bytes / 1024;
final mb = kb / 1024;
Posted by: Guest on April-19-2021

Code answers related to "how to get image file size in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language