title: error: Instance member 'cropImage' can't be accessed using static access
body: <pre><code>class ImagesCropper {
  static Future&lt;File?&gt; cropImage(XFile file) async {
  final File? croppedImage = await ImageCropper.cropImage(
    sourcePath: file.path,
    aspectRatioPresets:
        Platform.isAndroid ? crossAspectRatioAndroid : crossAspectRatioIos,
    androidUiSettings: androidUiSettings,
    iosUiSettings: iosUiSettings,
  );
  return croppedImage;
  }
  }
  </code></pre>
  <p>i put the full code here:</p>
  <p><a href="https://controlc.com/9590e7b1" rel="noreferrer">https://controlc.com/9590e7b1</a></p>
  <p>and here's the error in debug console
  debug console</p>
  <p><a href="https://i.stack.imgur.com/dTbNP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dTbNP.png" alt="debug console" /></a></p>