BaseViewFinderConfiguration constructor
BaseViewFinderConfiguration({
- FinderStyle? style,
- ScanbotColor? overlayColor,
- AspectRatio? aspectRatio,
- EdgeInsets? minimumInsets,
- double preferredHeight = -1.0,
Implementation
BaseViewFinderConfiguration({
FinderStyle? style,
ScanbotColor? overlayColor,
AspectRatio? aspectRatio,
EdgeInsets? minimumInsets,
this.preferredHeight = -1.0,
}) : 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),
minimumInsets = minimumInsets ??
EdgeInsets(top: 16.0, left: 16.0, bottom: 16.0, right: 16.0);