BackgroundStyle constructor

BackgroundStyle({
  1. ScanbotColor? strokeColor,
  2. ScanbotColor? fillColor,
  3. double strokeWidth = 2.0,
})

Implementation

BackgroundStyle({
  ScanbotColor? strokeColor,
  ScanbotColor? fillColor,
  this.strokeWidth = 2.0,
})  : strokeColor = strokeColor ?? ScanbotColor("#FFFFFFFF"),
      fillColor = fillColor ?? ScanbotColor("#FFFFFF30");