ButtonBorder

Interface

Android
public interface ButtonBorder

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

Functions

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

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

Parameters

enabledWhether the button is enabled