TopBarConfiguration constructor
      
      TopBarConfiguration({ 
    
    
- StyledText? title,
- TopBarMode mode = TopBarMode.SOLID,
- StatusBarMode statusBarMode = StatusBarMode.LIGHT,
- ScanbotColor? backgroundColor,
- ButtonConfiguration? cancelButton,
Implementation
TopBarConfiguration({
  StyledText? title,
  this.mode = TopBarMode.SOLID,
  this.statusBarMode = StatusBarMode.LIGHT,
  ScanbotColor? backgroundColor,
  ButtonConfiguration? cancelButton,
})  : title = title ??
          StyledText(
              visible: false,
              text: "Scan Item",
              color: ScanbotColor("?sbColorOnPrimary")),
      backgroundColor = backgroundColor ?? ScanbotColor("?sbColorPrimary"),
      cancelButton = cancelButton ??
          ButtonConfiguration(
              text: "Cancel",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              foreground:
                  ForegroundStyle(color: ScanbotColor("?sbColorOnPrimary")));