Package-level declarations

Functions

Link copied to clipboard
fun AnchorBottomSheetScaffold(sheetContent: @Composable ColumnScope.() -> Unit, modifier: Modifier = Modifier, sheetState: BottomSheetState = rememberBottomSheetState(), sheetGesturesEnabled: Boolean = true, sheetShape: Shape = RectangleShape, sheetElevation: Dp = 0.dp, sheetBackgroundColor: Color = Color.Transparent, sheetPeekHeight: Dp, sheetHalfExpandedHeight: (Dp) -> Dp? = null)

Unlike BottomSheetScaffold this composable supports BottomSheetValue.HalfExpanded state and does not block touch propagation to the views behind it.

Link copied to clipboard
fun Body1(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Body2(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Body3(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Body4(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Body5(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Body6(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Button1(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Button2(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun CardHeader(modifier: Modifier = Modifier, title: CharSequence, inlineContentFactory: InlineContentFactory = { emptyMap() }, titleColor: Color = AppTheme.colors.textColor.primary, titleMaxLines: Int = 1, showBackButton: Boolean, showCloseButton: Boolean, showDragControl: Boolean, showDivider: Boolean, onBackClick: () -> Unit = {}, onCloseClick: () -> Unit = {}, buttonColor: Color = AppTheme.colors.backgroundColors.secondary, trailingContent: @Composable RowScope.() -> Unit = {}, bottomContent: @Composable ColumnScope.() -> Unit = {})
Link copied to clipboard
fun CardHeaderButton(modifier: Modifier = Modifier, color: Color = AppTheme.colors.backgroundColors.secondary, @DrawableRes iconId: Int, onClick: () -> Unit = {})
Link copied to clipboard
fun CloseButton(modifier: Modifier = Modifier, onClick: () -> Unit = {}, borderColor: Color = AppTheme.colors.borderColors.primary, colorFilter: ColorFilter? = null)
Link copied to clipboard
Link copied to clipboard
fun getPlaybackProgress(duration: Long, playbackPosition: Long, isPlaying: Boolean, stateUpdateTime: Long): Float
Link copied to clipboard
fun LazyColumnWithTopDivider(modifier: Modifier = Modifier, verticalArrangement: Arrangement.Vertical = Arrangement.spacedBy(dimensionResource(id = R.dimen.list_items_margin)), contentBottomPadding: Dp = 120.dp, content: LazyListScope.() -> Unit)
Link copied to clipboard
fun LinkableText(text: CharSequence, modifier: Modifier = Modifier, color: Color = AppTheme.colors.textColor.primary, linkColor: Color = AppTheme.colors.textColor.links, linkClickHandler: UriHandler = LocalUriHandler.current, mask: Int = Linkify.PHONE_NUMBERS or Linkify.EMAIL_ADDRESSES or Linkify.WEB_URLS, onLongClick: () -> Unit = {})
Link copied to clipboard
fun PlaceRatingView(rating: Float, reviewCount: Int, modifier: Modifier = Modifier)
Link copied to clipboard
Link copied to clipboard
fun ShimmerItem(modifier: Modifier, shape: Shape = RoundedCornerShape(8.dp))
Link copied to clipboard
fun Switch(modifier: Modifier = Modifier, checked: Boolean = false, onCheckedChange: (Boolean) -> Unit = {})
Link copied to clipboard
fun SwitchItem(label: String, modifier: Modifier = Modifier, checked: Boolean = false, onCheckedChange: (Boolean) -> Unit = {})
Link copied to clipboard
fun TabButton(@DrawableRes drawableResId: Int, text: String, selected: Boolean, modifier: Modifier = Modifier, style: TabButtonStyle = TabButtonStyle.Normal, onClick: () -> Unit = {})

A button that represents a tab in a tab layout.

Link copied to clipboard
fun Title1(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title2(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title3(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title4(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title5(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title6(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})
Link copied to clipboard
fun Title7(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {})