twoLine
abstract fun twoLine(title: String, subtitle: String, selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier): SegmentedButtonItem(source)
Segment showing a bold primary line and a smaller caption below it. Both lines are single-line, truncated with ellipsis.

Parameters
title
Primary label, styled as com.adevinta.spark.tokens.SparkTypography.body2.
subtitle
Secondary label, styled as com.adevinta.spark.tokens.SparkTypography.caption.
selected
Whether this segment is currently selected.
onClick
Called when the user taps this segment.
modifier
Modifier applied to this segment's touch-target box.