BlazeWidgetItemStyle - iOS
The BlazeWidgetItemStyle struct represents the appearance and styling configuration for a widget item.
Properties
title
var title: BlazeWidgetItemTitleStyleA BlazeWidgetItemTitleStyle object that defines the style settings for the title of the widget item.
statusIndicator
var statusIndicator: BlazeWidgetItemStatusIndicatorStyleA BlazeWidgetItemStatusIndicatorStyle object that defines the style settings for the status indicator of the widget item.
backgroundColor
var backgroundColor: UIColorA UIColor representing the background color of the widget item.
cornerRadius
var cornerRadius: CGFloatA 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: BlazeWidgetItemImageStyleA BlazeWidgetItemImageStyle object that defines the style settings for the image of the widget item.
insets
var insets: NSDirectionalEdgeInsetsAn NSDirectionalEdgeInsets representing the insets of the widget item.
badge
var badge: BlazeWidgetItemBadgeStyleThe badge configuration of the widget item.
eventTimeElement
var eventTimeElement: BlazeWidgetItemEventTimeElementStyleThe event time element of the widget item — the start-time text shown on live-stream cards (upcoming streams by default). See BlazeWidgetItemEventTimeElementStyle.
Updated 11 days ago
