GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemDurationElementIconStyle

The BlazeWidgetItemDurationElementIconStyle class represents the style configuration for an icon inside a widget item's duration element.

Properties

iconResId

@DrawableRes var iconResId: Int

The resource id of the icon that will be displayed inside the duration element.

iconPositioning

var iconPositioning: BlazeWidgetItemDurationElementIconStyle.BlazeIconPositioning

The position of the icon inside the duration element.

iconTint

var iconTint: Int?

The tint of the icon. If null is given, the icon tint equals the duration element text color.

BlazeIconPositioning

The alignment options for the icon within its container.

ValueDescription
STARTAlign the icon to the start edge of its container.

Did this page help you?