MultiChoiceSegmentedButtonRowScope

Scope for the children of a MultiChoiceSegmentedButtonRow

Functions

Link copied to clipboard
abstract fun Modifier.align(alignment: Alignment.Vertical): Modifier
Link copied to clipboard
abstract fun Modifier.alignBy(alignmentLine: HorizontalAlignmentLine): Modifier
abstract fun Modifier.alignBy(alignmentLineBlock: (Measured) -> Int): Modifier
Link copied to clipboard
abstract fun Modifier.alignByBaseline(): Modifier
Link copied to clipboard
@Composable
fun RowScope.NavigationBarItem(selected: Boolean, onClick: () -> Unit, icon: @Composable () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, label: @Composable () -> Unit? = null, alwaysShowLabel: Boolean = true, colors: NavigationBarItemColors = NavigationBarItemDefaults.colors(), interactionSource: MutableInteractionSource? = null)

Material Design navigation bar item.

Link copied to clipboard
@Composable
fun MultiChoiceSegmentedButtonRowScope.SegmentedButton(checked: Boolean, onCheckedChange: (Boolean) -> Unit, shape: Shape, modifier: Modifier = Modifier, enabled: Boolean = true, colors: SegmentedButtonColors = SegmentedButtonDefaults.colors(), border: BorderStroke = SegmentedButtonDefaults.borderStroke(colors.borderColor(enabled, checked)), interactionSource: MutableInteractionSource? = null, icon: @Composable () -> Unit = { SegmentedButtonDefaults.Icon(checked) }, label: @Composable () -> Unit)

Material Segmented Button. Segmented buttons help people select options, switch views, or sort elements.

Link copied to clipboard
abstract fun Modifier.weight(weight: Float, fill: Boolean): Modifier