SeniorImageCropper constructor
SeniorImageCropper({
- required String cropperTitle,
- required String takePhotoLabel,
- required String pickImageLabel,
- String? doneButtonLabel,
- String? cancelButtonLabel,
- required dynamic onCropImage(
- File croppedImage
- int? maxSizeMb,
- VoidCallback? onPermissionCameraDenied,
- VoidCallback? onPermissionGalleryDenied,
- dynamic onException(
- Object e
- SeniorImageCropperStyle? style,
Creates the SDS Image Cropper component. The parameters cropperTitle, takePhotoLabel, pickImageLabel, onCropImage, onPermissionCameraDenied and onPermissionGalleryDenied are required.
Implementation
SeniorImageCropper({
required this.cropperTitle,
required this.takePhotoLabel,
required this.pickImageLabel,
this.doneButtonLabel,
this.cancelButtonLabel,
required this.onCropImage,
this.maxSizeMb,
this.onPermissionCameraDenied,
this.onPermissionGalleryDenied,
this.onException,
this.style,
});