📜  颤振获取文件大小 - 任何代码示例

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

代码示例3
File image = new File('image.png'); // Or any other way to get a File instance.
var decodedImage = await decodeImageFromList(image.readAsBytesSync());
print(decodedImage.width);
print(decodedImage.height);