     return "nil"
   }
 }
+
+@resultBuilder
+enum SimpleStringBuilder {
+  static func buildBlock(_ parts: String?...) -> String {
+    parts.compactMap { $0 }.joined(separator: "\n")
+  }
+
+  static func buildOptional(_ component: String?) -> String? {
+    return component
+  }
+}

    style.progressBarStyle.horizontalInsets = \(pbHorizontalInsets)
    style.progressBarStyle.cornerRadius = \(pbCornerRadius)
    style.progressBarStyle.offsetY = \(pbBarOffset)
    """)

    text.append("\n")

    return text
  }

  func readableRGBAColorString(_ color: UIColor?) -> String {

    return style
  }

  @SimpleStringBuilder
  func styleConfigurationString() -> String {
    """
    style.textStyle.textColor = \(readableRGBAColorString(textColor))
    style.textStyle.font = UIFont(name: \"\(font.familyName)\", size: \(font.pointSize))
    style.textStyle.textOffsetY = \(textOffsetY)
    """

    if let textShadowColor = textShadowColor {
      """
      style.textStyle.textShadowColor = \(readableRGBAColorString(textShadowColor))
      style.textStyle.textShadowOffset = CGSize(width: \(textShadowOffset.width), height: \(textShadowOffset.height))
      """
    }

    """
    \nstyle.backgroundStyle.backgroundColor = \(readableRGBAColorString(backgroundColor))
    style.backgroundStyle.backgroundType = \(backgroundType.rawValue)
    """

    if backgroundType == .pill {
      """
      \nstyle.backgroundStyle.pillStyle.minimumWidth = \(minimumPillWidth)
      style.backgroundStyle.pillStyle.height = \(pillHeight)
      style.backgroundStyle.pillStyle.topSpacing = \(pillSpacingY)
      """

      if let pillBorderColor = pillBorderColor {
        """
        style.backgroundStyle.pillStyle.borderColor = \(readableRGBAColorString(pillBorderColor))
        style.backgroundStyle.pillStyle.borderWidth = \(pillBorderWidth)
        """
      }

      if let pillShadowColor = pillShadowColor {
        """
        style.backgroundStyle.pillStyle.shadowColor = \(readableRGBAColorString(pillShadowColor))
        style.backgroundStyle.pillStyle.shadowRadius = \(pillShadowRadius)
        style.backgroundStyle.pillStyle.shadowOffset = CGSize(width: \(pillShadowOffset.width), height: \(pillShadowOffset.height))
        """
      }
    }

    """
    \nstyle.animationType = \(animationType.rawValue)
    style.systemStatusBarStyle = \(systemStatusBarStyle.rawValue)
    style.canSwipeToDismiss = \(canSwipeToDismiss)

