DeviceSectionHeader
fun DeviceSectionHeader(title: String, modifier: Modifier = Modifier, showProgress: Boolean = false, trailing: @Composable () -> Unit = {})(source)
Section header used to group content in the Connections list.
Follows the Material 3 "header + trailing action" pattern: a titleSmall label on the left, an optional composable trailing slot on the right (typically a androidx.compose.material3.TextButton for a scan toggle), and an optional thin LinearProgressIndicator rendered underneath when showProgress is true.
The title and the trailing action share a vertically centered line; when they don't fit side by side (a large font scale, a long translation) the action wraps below the title instead of squeezing it. The title is a heading, so screen readers can jump between sections.