# DocumentScannerParameters constructor

DocumentScannerParameters({

1. int acceptedAngleScore = 75,
2. int acceptedSizeScore = 80,
3. int acceptedBrightnessThreshold = 0,
4. int acceptedAspectRatioScore = 85,
5. List<AspectRatio>? aspectRatios,
6. bool ignoreOrientationMismatch = false,

})

## Implementation

    DocumentScannerParameters({
      this.acceptedAngleScore = 75,
      this.acceptedSizeScore = 80,
      this.acceptedBrightnessThreshold = 0,
      this.acceptedAspectRatioScore = 85,
      List<AspectRatio>? aspectRatios,
      this.ignoreOrientationMismatch = false,
    }) : aspectRatios = aspectRatios ?? [];