cropImage method
Launch native image cropper for the given image path. Returns the cropped image path.
Implementation
@override
Future<String?> cropImage(String sourcePath) async {
final result = await methodChannel.invokeMethod<String>('cropImage', {
'sourcePath': sourcePath,
});
return result;
}