instance property
ImageCropperPlatform
instance
The default instance of ImageCropperPlatform to use.
Defaults to MethodChannelImageCropper
.
Implementation
static ImageCropperPlatform get instance => _instance;
Platform-specific plugins should set this with their own platform-specific class that extends ImageCropperPlatform when they register themselves.
Implementation
static set instance(ImageCropperPlatform instance) {
PlatformInterface.verify(instance, _token);
_instance = instance;
}