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.
subtitle
var subtitle: BlazeWidgetItemSubtitleStyleThe subtitle line shown directly below the title on Moments widget items. Hidden by default. See BlazeWidgetItemSubtitleStyle.
description
var description: BlazeWidgetItemDescriptionStyleThe description line shown below the subtitle on Moments widget items. Hidden by default. See BlazeWidgetItemDescriptionStyle.
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.
playIconElement
var playIconElement: BlazeWidgetItemPlayIconElementStyleThe play icon overlay of the widget item — a play affordance rendered centered on the item's thumbnail. Hidden by default on all presets. See BlazeWidgetItemPlayIconElementStyle.
Updated about 9 hours ago
