Text

constructor(label: String, style: OudsListItemTextStyle = OudsListItemTextStyle.Label)

Creates an instance of OudsListItemTrailing.Text. Use it to display a short value or secondary piece of information associated with the navigation destination.

Parameters

label

Label displayed in trailing.

style

Style applied to the label among OudsListItemTextStyle values.


constructor(label: String, extraLabel: String)

Creates an instance of OudsListItemTrailing.Text with an extra label. Use it when a value requires a short qualifier, unit or supporting label. Note that when an extraLabel is provided, the label retains the OudsListItemTextStyle.Label style.

Parameters

label

Label displayed in trailing.

extraLabel

Label displayed below the main label.