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 header title and the trailing action are rendered on the same baseline so a section's control never drifts above or below its header.