StyledText constructor

StyledText({
  1. bool visible = true,
  2. String text = "",
  3. ScanbotColor? color,
  4. bool useShadow = false,
})

Implementation

StyledText({
  this.visible = true,
  this.text = "",
  ScanbotColor? color,
  this.useShadow = false,
}) : color = color ?? ScanbotColor("#FFFFFF");