Google is committed to advancing racial equity for Black communities. See how.

Button

object Button
kotlin.Any
   ↳ androidx.ui.material.Button

Contains the default values used by Button

Summary

Properties
InnerPadding

The default inner padding used by Button

Dp

The default min width applied for the Button.

Dp

The default min width applied for the Button.

Color

The default disabled background color used by Contained Buttons

Color

The default disabled content color used by all types of Buttons

Properties

DefaultInnerPadding

val DefaultInnerPadding: InnerPadding

The default inner padding used by Button

DefaultMinHeight

val DefaultMinHeight: Dp

The default min width applied for the Button. Note that you can override it by applying Modifier.heightIn directly on Button.

DefaultMinWidth

val DefaultMinWidth: Dp

The default min width applied for the Button. Note that you can override it by applying Modifier.widthIn directly on Button.

defaultDisabledBackgroundColor

@Composable val defaultDisabledBackgroundColor: Color

The default disabled background color used by Contained Buttons

defaultDisabledContentColor

@Composable val defaultDisabledContentColor: Color

The default disabled content color used by all types of Buttons