SingleImageSelector constructor

SingleImageSelector(
  1. BuildContext context, {
  2. bool showUploadProgress = true,
  3. bool showErrorToast = true,
  4. CropConfig? cropConfig,
  5. ValueChanged<String>? onSuccess,
  6. ValueChanged<String>? onError,
  7. VoidCallback? onCancel,
})

Implementation

SingleImageSelector(this.context, {this.showUploadProgress = true, this.showErrorToast = true, this.cropConfig, this.onSuccess, this.onError, this.onCancel});