DDSCaptureImage constructor
const
DDSCaptureImage({
- required ImageEditType editType,
- bool? buttonDisable,
- double? buttonHeight,
- double? buttonWidth,
- String? buttonLabel,
- ButtonShape? buttonShape,
- ButtonType? buttonType,
- Color? primaryButtonBackgroundColor,
- Color? primaryButtonPressedColor,
- Color? primaryButtonTextColor,
- Color? disabledPrimaryButtonBackgroundColor,
- Color? disabledPrimaryButtonTextColor,
- Color? secondaryButtonBackgroundColor,
- Color? secondaryButtonBorderColor,
- Color? secondaryButtonPressedColor,
- Color? secondaryButtonTextColor,
- Color? disabledSecondaryButtonBackgroundColor,
- Color? disabledSecondaryButtonBorderColor,
- Color? disabledSecondaryButtonTextColor,
- required dynamic onImageCaptured(),
- Widget? customButton,
- Key? key,
Implementation
const DDSCaptureImage({
required this.editType,
this.buttonDisable,
this.buttonHeight,
this.buttonWidth,
this.buttonLabel,
this.buttonShape,
this.buttonType,
this.primaryButtonBackgroundColor,
this.primaryButtonPressedColor,
this.primaryButtonTextColor,
this.disabledPrimaryButtonBackgroundColor,
this.disabledPrimaryButtonTextColor,
this.secondaryButtonBackgroundColor,
this.secondaryButtonBorderColor,
this.secondaryButtonPressedColor,
this.secondaryButtonTextColor,
this.disabledSecondaryButtonBackgroundColor,
this.disabledSecondaryButtonBorderColor,
this.disabledSecondaryButtonTextColor,
required this.onImageCaptured,
this.customButton,
Key? key,
}) : super(key: key);