Package-level declarations

Functions

Link copied to clipboard
fun AdaptiveAlertDialog(title: @Composable () -> Unit, onBackClick: () -> Unit, modifier: Modifier = Modifier, isFullScreenDialog: Boolean = isCompactWindowClass(), navigationIcon: @Composable () -> Unit = { BackIconButton(onClick = onBackClick) }, content: @Composable (PaddingValues) -> Unit)
Link copied to clipboard
fun AdaptiveAlertDialog2(title: @Composable () -> Unit, onDismissRequest: () -> Unit, actionButton: @Composable () -> Unit, modifier: Modifier = Modifier, confirmButton: @Composable () -> Unit? = null, dismissButton: @Composable () -> Unit? = null, isFullScreenDialog: Boolean = isCompactWindowClass(), navigationIcon: @Composable () -> Unit = {}, content: @Composable (PaddingValues) -> Unit)
Link copied to clipboard
fun AlertDialog(onDismissRequest: () -> Unit, modifier: Modifier = Modifier, title: @Composable () -> Unit? = null, content: @Composable (PaddingValues) -> Unit)
Link copied to clipboard
fun AlertDialogContent(modifier: Modifier = Modifier, confirmButton: @Composable () -> Unit? = null, dismissButton: @Composable () -> Unit? = null, icon: @Composable () -> Unit? = null, title: @Composable () -> Unit? = null, scrollableState: ScrollableState? = null, shape: Shape = AlertDialogDefaults.shape, containerColor: Color = AlertDialogDefaults.containerColor, iconContentColor: Color = AlertDialogDefaults.iconContentColor, titleContentColor: Color = AlertDialogDefaults.titleContentColor, textContentColor: Color = AlertDialogDefaults.textContentColor, tonalElevation: Dp = AlertDialogDefaults.TonalElevation, content: @Composable (PaddingValues) -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun BackIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true)
Link copied to clipboard
fun ButtonWithIcon(onClick: () -> Unit, icon: @Composable RowScope.() -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, iconEnabled: Boolean = true, shape: Shape = ButtonDefaults.shape, colors: ButtonColors = ButtonDefaults.buttonColors(), elevation: ButtonElevation? = ButtonDefaults.buttonElevation(), border: BorderStroke? = null, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun AppBarScope.clickableItem(onClick: () -> Unit, icon: @Composable () -> Unit, label: @Composable () -> String, enabled: Boolean = true, testTag: String? = null)
Link copied to clipboard
fun CloseIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true)
Link copied to clipboard
fun <T : ExposedDropdownMenu> ExposedDropdownMenu(label: String, value: String, onChangeValue: (T) -> Unit, menus: List<T>, modifier: Modifier = Modifier)
Link copied to clipboard
fun HorizontalPagerIndicator(pagerState: PagerState, pageCount: Int, modifier: Modifier = Modifier, pageIndexMapping: (Int) -> Int = { it }, activeColor: Color = LocalContentColor.current, inactiveColor: Color = activeColor.copy(alpha = 0.38f), indicatorWidth: Dp = 8.dp, indicatorHeight: Dp = indicatorWidth, spacing: Dp = indicatorWidth, indicatorShape: Shape = CircleShape)
Link copied to clipboard
fun LinearPullRefreshContainer(pullRefreshState: PullToRefreshState, isRefreshing: Boolean, onRefresh: () -> Unit, modifier: Modifier = Modifier, contentPadding: PaddingValues = PaddingValues(), content: @Composable () -> Unit)
Link copied to clipboard
fun ListItemRadioButton(headlineContent: @Composable () -> Unit, selected: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, overlineContent: @Composable () -> Unit? = null, supportingContent: @Composable () -> Unit? = null, trailingContent: @Composable () -> Unit? = null, colors: ListItemColors = if (enabled) { ListItemDefaults.colors() } else { ListItemDefaults.colors( headlineColor = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), leadingIconColor = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), overlineColor = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), supportingColor = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), trailingIconColor = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), ) }, tonalElevation: Dp = ListItemDefaults.Elevation, shadowElevation: Dp = ListItemDefaults.Elevation)
Link copied to clipboard
fun SettingsIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true)
Link copied to clipboard
fun AppBarRowScope.settingsItem(onClick: () -> Unit)
Link copied to clipboard
fun SwitchWithText(text: @Composable () -> Unit, checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, thumbContent: @Composable () -> Unit? = null, enabled: Boolean = true, colors: SwitchColors = SwitchDefaults.colors())
Link copied to clipboard
fun TextButtonWithIcon(onClick: () -> Unit, icon: @Composable RowScope.() -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, iconEnabled: Boolean = true, shape: Shape = ButtonDefaults.shape, colors: ButtonColors = ButtonDefaults.textButtonColors(), elevation: ButtonElevation? = ButtonDefaults.buttonElevation(), border: BorderStroke? = null, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun AppBarScope.toggleableItem(checked: Boolean, onCheckedChange: (Boolean) -> Unit, icon: @Composable () -> Unit, label: @Composable () -> String, enabled: Boolean = true)