ViewFinderConfiguration constructor
ViewFinderConfiguration({
- bool visible = true,
- FinderStyle? style,
- ScanbotColor? overlayColor,
- 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);