ButtonBorder

interface ButtonBorder


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

Summary

Public functions

State<BorderStroke?>

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

Public functions

borderStroke

Added in 1.1.0
@Composable
fun borderStroke(enabled: Boolean): State<BorderStroke?>

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

Parameters
enabled: Boolean

Whether the button is enabled