UICapture constructor
UICapture(
- Object? container,
- CaptureType captureType, {
- String? fieldName,
- double? captureAspectRatio,
- int? captureMaxWidth,
- int? captureMaxHeight,
- CaptureDataFormat captureDataFormat = CaptureDataFormat.arrayBuffer,
- bool editCapture = false,
- CapturePhotoEditor? photoEditor,
- Object? selectedFileData,
- dynamic classes,
- dynamic classes2,
- dynamic style,
- dynamic componentClass,
Implementation
UICapture(super.container, this.captureType,
{String? fieldName,
this.captureAspectRatio,
this.captureMaxWidth,
this.captureMaxHeight,
this.captureDataFormat = CaptureDataFormat.arrayBuffer,
this.editCapture = false,
this.photoEditor,
Object? selectedFileData,
super.navigate,
super.navigateParameters,
super.navigateParametersProvider,
super.classes,
super.classes2,
super.style,
dynamic componentClass})
: fieldName = fieldName ?? 'capture',
super(componentClass: ['ui-capture', componentClass]) {
this.selectedFileData = selectedFileData;
}