CaiJingLong/dart_image_size_getter

FileInput isn't defined

Closed this issue · 1 comments

lib/crop_image.dart:35:46: Error: The method 'FileInput' isn't defined for the class '_CropImageState'.

  • '_CropImageState' is from 'package:course/crop_image.dart' ('lib/crop_image.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FileInput'.
    imagePixelSize = ImageSizeGetter.getSize(FileInput(widget.file))

fixed it