Answers for "flutter get file size from url"

0

flutter get file size

final file = File('pickedVid.mp4');            
int sizeInBytes = file.lengthSync();
double sizeInMb = sizeInBytes / (1024 * 1024);
if (sizeInMb > 10){
    // This file is Longer the
}
Posted by: Guest on October-28-2021

Code answers related to "flutter get file size from url"

Code answers related to "Dart"

Browse Popular Code Answers by Language