Package-level declarations

Functions

Link copied to clipboard
fun AppList(modifier: Modifier = Modifier, listState: LazyListState = rememberLazyListState(), collapsibleContent: @Composable () -> Unit? = null, content: LazyListScope.() -> Unit)

A custom LazyColumn that supports an optional collapsible header. The header hides when scrolling down and shows when scrolling up or reaching the top.

Link copied to clipboard
fun AppSectionTitle(title: String, modifier: Modifier = Modifier)

A title component for sections within a list or settings screen. This version accepts a raw String.

fun AppSectionTitle(title: StringResource, modifier: Modifier = Modifier)

A title component for sections within a list or settings screen. This version accepts a StringResource for localized text.

Link copied to clipboard
@Preview(showBackground = true)
fun AppSectionTitlePreview()
Link copied to clipboard
@Preview(showBackground = true)
fun AppSectionTitleResourcePreview()
Link copied to clipboard
fun AppSelectableRow(label: String, isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier)

A row component designed for selection lists (like Language or Country selection). This version accepts a raw String.

fun AppSelectableRow(label: StringResource, isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier)

A row component designed for selection lists (like Language or Country selection). It shows a label and displays a checkmark only when isSelected is true.

Link copied to clipboard
Link copied to clipboard
fun AppTextRow(label: String, modifier: Modifier = Modifier, value: String? = null, leadingIcon: ImageVector? = null, isEnabled: Boolean = false, onClick: () -> Unit? = null, onCheckedChange: (Boolean) -> Unit? = null, trailingIcon: ImageVector? = null)

A row component that displays a label and a string value.

fun AppTextRow(label: StringResource, modifier: Modifier = Modifier, value: StringResource? = null, leadingIcon: ImageVector? = null, isEnabled: Boolean = false, onClick: () -> Unit? = null, onCheckedChange: (Boolean) -> Unit? = null, trailingIcon: ImageVector? = null)

A row component that displays a label and a value using StringResource.

Link copied to clipboard