UICapture constructor

UICapture(
  1. Object? container,
  2. CaptureType captureType, {
  3. String? fieldName,
  4. double? captureAspectRatio,
  5. int? captureMaxWidth,
  6. int? captureMaxHeight,
  7. CaptureDataFormat captureDataFormat = CaptureDataFormat.arrayBuffer,
  8. bool editCapture = false,
  9. CapturePhotoEditor? photoEditor,
  10. Object? selectedFileData,
  11. String? navigate,
  12. Map<String, String>? navigateParameters,
  13. ParametersProvider? navigateParametersProvider,
  14. dynamic classes,
  15. dynamic classes2,
  16. dynamic style,
  17. 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;
}