image_size_getter_flutter 1.0.0 copy "image_size_getter_flutter: ^1.0.0" to clipboard
image_size_getter_flutter: ^1.0.0 copied to clipboard

A Flutter plugin for support image_size_getter.

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;
}
1
likes
140
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for support image_size_getter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, image_size_getter

More

Packages that depend on image_size_getter_flutter