📜  如何在颤振中获取图像文件大小 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:09.593000             🧑  作者: Mango

代码示例1
final bytes = image.readAsBytesSync().lengthInBytes;
final kb = bytes / 1024;
final mb = kb / 1024;