SingleImageSelector constructor
SingleImageSelector(
- BuildContext context, {
- bool showUploadProgress = true,
- bool showErrorToast = true,
- CropConfig? cropConfig,
- ValueChanged<
String> ? onSuccess, - ValueChanged<
String> ? onError, - VoidCallback? onCancel,
Implementation
SingleImageSelector(this.context, {this.showUploadProgress = true, this.showErrorToast = true, this.cropConfig, this.onSuccess, this.onError, this.onCancel});