ViewFinderConfiguration constructor

ViewFinderConfiguration({
  1. bool visible = true,
  2. FinderStyle? style,
  3. ScanbotColor? overlayColor,
  4. AspectRatio? aspectRatio,
})

Implementation

ViewFinderConfiguration({
  this.visible = true,
  FinderStyle? style,
  ScanbotColor? overlayColor,
  AspectRatio? aspectRatio,
})  : style = style ??
          FinderCorneredStyle(
              strokeColor: ScanbotColor("?sbColorSurface"),
              strokeWidth: 2.0,
              cornerRadius: 10.0),
      overlayColor = overlayColor ?? ScanbotColor("?sbColorSurfaceLow"),
      aspectRatio = aspectRatio ?? AspectRatio(width: 1.0, height: 1.0);