GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemStatusIndicatorStateStyle - iOS

The BlazeWidgetItemStatusIndicatorStateStyle struct represents the style configuration for a widget item indicator.

Properties

isVisible

var isVisible: Bool

Indicates whether the indicator is visible.

📘

Make sure to set the parent indicator 'isVisible' property to true if toggled on.

backgroundColor

var backgroundColor: UIColor

The background color of the indicator.

backgroundImage

var backgroundImage: UIImage?

The background image of the indicator.

textStyle

var textStyle: BlazeWidgetItemTextStyle

The style configuration for the indicator title.

text

var text: String

The text displayed in the indicator.

cornerRadius

var cornerRadius: CGFloat

The corner radius of the indicator.

cornerRadiusRatio

var cornerRadiusRatio: CGFloat?

The corner radius ratio is a value between 0.0 and 1.0, which computes the final corner radius for the item indicator. Overrides corner radius property For example, a value of 0.5 on a 1:1 width/height item indicator will result in a perfect circle appearance for the item indicator.

borderColor

var borderColor: UIColor

The color of the border.

borderWidth

var borderWidth: CGFloat

The width of the border.


Did this page help you?