UIButtonCapturePhoto constructor

UIButtonCapturePhoto(
  1. Element? parent, {
  2. String? text,
  3. CaptureType captureType = CaptureType.photo,
  4. dynamic buttonContent,
  5. String? fieldName,
  6. double? captureAspectRatio,
  7. int? captureMaxWidth,
  8. int? captureMaxHeight,
  9. CaptureDataFormat captureDataFormat = CaptureDataFormat.arrayBuffer,
  10. bool editCapture = false,
  11. CapturePhotoEditor? photoEditor,
  12. Object? selectedFileData,
  13. String? navigate,
  14. Map<String, String>? navigateParameters,
  15. ParametersProvider? navigateParametersProvider,
  16. dynamic classes,
  17. dynamic classes2,
  18. dynamic componentClass,
  19. dynamic style,
  20. bool small = false,
  21. String? fontSize,
})

Implementation

UIButtonCapturePhoto(Element? parent,
    {this.text,
    CaptureType captureType = CaptureType.photo,
    this.buttonContent,
    super.fieldName,
    super.captureAspectRatio,
    super.captureMaxWidth,
    super.captureMaxHeight,
    super.captureDataFormat,
    super.editCapture,
    super.photoEditor,
    super.selectedFileData,
    super.navigate,
    super.navigateParameters,
    super.navigateParametersProvider,
    super.classes,
    super.classes2,
    dynamic componentClass,
    super.style,
    bool small = false,
    this.fontSize})
    : super(parent, captureType, componentClass: [
        small ? 'ui-button-small' : 'ui-button',
        componentClass
      ]);