GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemStyle - iOS

The BlazeWidgetItemStyle struct represents the appearance and styling configuration for a widget item.

Properties

title

var title: BlazeWidgetItemTitleStyle

A BlazeWidgetItemTitleStyle object that defines the style settings for the title of the widget item.

statusIndicator

 var statusIndicator: BlazeWidgetItemStatusIndicatorStyle

A BlazeWidgetItemStatusIndicatorStyle object that defines the style settings for the status indicator of the widget item.

backgroundColor

var backgroundColor: UIColor

A UIColor representing the background color of the widget item.

cornerRadius

var cornerRadius: CGFloat

A CGFloat represents the corner radius of the widget item.

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 widget item. Overrides corner radius property.
For example, a value of 0.5 on a 1:1 width/height widget item will result in a perfect circle style for the widget item

image

var image: BlazeWidgetItemImageStyle

A BlazeWidgetItemImageStyle object that defines the style settings for the image of the widget item.

insets

var insets: NSDirectionalEdgeInsets

An NSDirectionalEdgeInsets representing the insets of the widget item.

badge

var badge: BlazeWidgetItemBadgeStyle

The badge configuration of the widget item.

eventTimeElement

var eventTimeElement: BlazeWidgetItemEventTimeElementStyle

The event time element of the widget item — the start-time text shown on live-stream cards (upcoming streams by default). See BlazeWidgetItemEventTimeElementStyle.


Did this page help you?