ImageCaptureField constructor
ImageCaptureField({
- Key? key,
- ImageCaptureController? controller,
- dynamic onImagePathChanged(
- String? onChanged
- dynamic onImageBytesChanged(
- Uint8List? bytes
- double? width,
- double? height,
- Widget? initialImage,
- double? cropAspectRatio,
- bool includeCropper = true,
- int imageQuality = 100,
- double borderRadiusValue = 16,
- double bottomRightDistance = 12,
- Color iconBackgroundColor = Colors.teal,
- IconData iconEdit = Icons.edit,
- IconData iconCamera = Icons.camera_alt,
- IconData iconGallery = Icons.photo,
Implementation
ImageCaptureField({
Key? key,
ImageCaptureController? controller,
this.onImagePathChanged,
this.onImageBytesChanged,
this.width,
this.height,
this.initialImage,
// this.onChanged,
this.cropAspectRatio,
this.includeCropper = true,
this.imageQuality = 100,
this.borderRadiusValue = 16,
this.bottomRightDistance = 12,
this.iconBackgroundColor = Colors.teal,
this.iconEdit = Icons.edit,
this.iconCamera = Icons.camera_alt,
this.iconGallery = Icons.photo,
}) : controller = controller ?? ImageCaptureController(),
super(key: key);