NotificationRow

fun NotificationRow(title: String, subtitle: String, onClick: () -> Unit, modifier: Modifier = Modifier, leadingIcon: @Composable () -> Unit)

Displays a clickable row representing a notification setting or option.

Parameters

title

The main text displayed in the notification row.

subtitle

Additional descriptive text displayed below the title.

onClick

Callback invoked when the user clicks the row.

modifier

Modifier used to customize the row's layout and appearance.

leadingIcon

Composable function that displays the icon at the beginning of the row.