# ScanbotCamera constructor

const ScanbotCamera({

1. Key? key,
2. required CameraConfiguration configuration,
3. Future onMethodCall(
   1. MethodCall methodCall
   )?,
4. FinderConfiguration? finder,
5. dynamic onCameraPreviewStarted(
   1. DocumentSnapTrigger snapTrigger,
   2. bool isFlashAvailable
   )?,
6. dynamic onHeavyOperationProcessing(
   1. bool
   )?,
7. dynamic onPictureTaken(
   1. Page
   )?,

})

## Implementation

    const ScanbotCamera(
        {Key? key,
        required this.configuration,
        this.onMethodCall,
        this.finder,
        this.onCameraPreviewStarted,
        this.onHeavyOperationProcessing,
        this.onPictureTaken})
        : super(key: key);