filterChipBorder

@Composable
fun filterChipBorder(enabled: Boolean, selected: Boolean, borderColor: Color = FilterChipTokens.FlatUnselectedOutlineColor.value, selectedBorderColor: Color = Color.Transparent, disabledBorderColor: Color = FilterChipTokens.FlatDisabledUnselectedOutlineColor.value.copy( alpha = FilterChipTokens.FlatDisabledUnselectedOutlineOpacity ), disabledSelectedBorderColor: Color = Color.Transparent, borderWidth: Dp = FilterChipTokens.FlatUnselectedOutlineWidth, selectedBorderWidth: Dp = FilterChipTokens.FlatSelectedOutlineWidth): BorderStroke

Creates a BorderStroke that represents the default border used in a flat FilterChip.

Parameters

selected

whether this chip is selected or not

enabled

controls the enabled state of this chip. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.

borderColor

the border color of this chip when enabled and not selected

selectedBorderColor

the border color of this chip when enabled and selected

disabledBorderColor

the border color of this chip when not enabled and not selected

disabledSelectedBorderColor

the border color of this chip when not enabled but selected

borderWidth

the border stroke width of this chip when not selected

selectedBorderWidth

the border stroke width of this chip when selected