BlazeWidgetItemStatusIndicatorStateStyle - iOS
The BlazeWidgetItemStatusIndicatorStateStyle struct represents the style configuration for a widget item indicator.
Properties
isVisible
var isVisible: BoolIndicates whether the indicator is visible.
Make sure to set the parent indicator 'isVisible' property to true if toggled on.
backgroundColor
var backgroundColor: UIColorThe background color of the indicator.
backgroundImage
var backgroundImage: UIImage?The background image of the indicator.
textStyle
var textStyle: BlazeWidgetItemTextStyleThe style configuration for the indicator title.
text
var text: StringThe text displayed in the indicator.
cornerRadius
var cornerRadius: CGFloatThe 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: UIColorThe color of the border.
borderWidth
var borderWidth: CGFloatThe width of the border.
Updated 11 days ago
Did this page help you?
