# flutter_fastImage **Repository Path**: StephenTom/flutter_fast-image ## Basic Information - **Project Name**: flutter_fastImage - **Description**: 快速获取网络图片的信息,如:size 使用:https://pub-web.flutter-io.cn/packages/fastimage final fastImage = FastImage(); final response = await fastImage.getSize("http://i.imgur.com/7GLI90s.jpg"); fastImage.close(); - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-16 - **Last Updated**: 2023-10-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README dart pub地址:https://pub-web.flutter-io.cn/packages/fastimage **使用** :import 'package:fastimage/fastimage.dart'; final response = await FastImage.shared().getSize("http://i.imgur.com/7GLI90s.jpg"); // or final fastImage = FastImage(); final response = await fastImage.getSize("http://i.imgur.com/7GLI90s.jpg"); // non-shared instances of FastImage should be closed fastImage.close(); print(response) // Prints: `GetSizeResponse(size: ImageSize(width: 1600, height: 1200), format: ImageFormat.jpeg)`