Interface

ButtonBorder

Represents the border stroke used in a Button in different states.

Source set: Android
public interface ButtonBorder

Represents the border stroke used in a Button in different states.

Functions

borderStroke

Source set: Android
@Composable public fun borderStroke(enabled: Boolean): State<BorderStroke?>

Represents the border stroke for this border, depending on enabled or null if no border

Parameters

enabled Whether the button is enabled
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: