image_size_getter_flutter

Last updated:

0 purchases

image_size_getter_flutter Image
image_size_getter_flutter Images
Add to Cart

Description:

image size getter flutter

image_size_getter_flutter #
A plugin for image_size_getter.
To support flutter.
Example #
FlutterAssetImageInput #
import 'package:image_size_getter/image_size_getter.dart';
import 'package:image_size_getter_flutter/image_size_getter_flutter.dart';

Future<Size> getAsset(String assetKey) async {
final input = FlutterAssetImageInput(assetKey);
final size = await ImageSizeGetter.getSizeAsync(input);
print('size: $size');
return size;
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.