SmartFaceCameraWeb constructor

const SmartFaceCameraWeb({
  1. Key? key,
  2. String message = '',
  3. TextStyle messageStyle = const TextStyle(color: Colors.white),
  4. bool showControls = true,
  5. bool showCaptureControl = true,
  6. bool showFlashControl = true,
  7. bool showCameraLensControl = true,
  8. bool showStatusMessage = true,
  9. IndicatorShape indicatorShape = IndicatorShape.defaultShape,
  10. bool autoDisableCaptureControl = false,
  11. bool autoCapture = false,
  12. dynamic onCapture(
    1. File
    )?,
  13. dynamic onError(
    1. dynamic
    )?,
})

Implementation

const SmartFaceCameraWeb({
  Key? key,
  this.message = '',
  this.messageStyle = const TextStyle(color: Colors.white),
  this.showControls = true,
  this.showCaptureControl = true,
  this.showFlashControl = true,
  this.showCameraLensControl = true,
  this.showStatusMessage = true,
  this.indicatorShape = IndicatorShape.defaultShape,
  this.autoDisableCaptureControl = false,
  this.autoCapture = false,
  this.onCapture,
  this.onError,
}) : super(key: key);