UIButtonCapturePhoto constructor
UIButtonCapturePhoto(
- Element? parent, {
- String? text,
- CaptureType captureType = CaptureType.photo,
- dynamic buttonContent,
- String? fieldName,
- double? captureAspectRatio,
- int? captureMaxWidth,
- int? captureMaxHeight,
- CaptureDataFormat captureDataFormat = CaptureDataFormat.arrayBuffer,
- bool editCapture = false,
- CapturePhotoEditor? photoEditor,
- Object? selectedFileData,
- dynamic classes,
- dynamic classes2,
- dynamic componentClass,
- dynamic style,
- bool small = false,
- 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
]);