Border
data class Border @JvmOverloads constructor(val shape: Shape = Shape.RoundCorner, val cornerRadius: CornerRadius = CornerRadius(BorderConstants.radius), val focusedBorderThickness: Int = BorderConstants.focusedBorderThickness, val unfocusedBorderThickness: Int = BorderConstants.unfocusedBorderThickness, @ColorLong val focusedBorderColor: Long = BorderConstants.focusedBorderColor, @ColorLong val unfocusedBorderColor: Long = BorderConstants.unfocusedBorderColor, @ColorLong val disabledBorderColor: Long = BorderConstants.disabledBorderColor, @ColorLong val errorBorderColor: Long = BorderConstants.errorBorderColor) : InputFieldIndicatorStyle
Constructors
Link copied to clipboard
constructor(shape: Shape = Shape.RoundCorner, cornerRadius: CornerRadius = CornerRadius(BorderConstants.radius), focusedBorderThickness: Int = BorderConstants.focusedBorderThickness, unfocusedBorderThickness: Int = BorderConstants.unfocusedBorderThickness, @ColorLong focusedBorderColor: Long = BorderConstants.focusedBorderColor, @ColorLong unfocusedBorderColor: Long = BorderConstants.unfocusedBorderColor, @ColorLong disabledBorderColor: Long = BorderConstants.disabledBorderColor, @ColorLong errorBorderColor: Long = BorderConstants.errorBorderColor)
Properties
Link copied to clipboard
Radius in dp.
Link copied to clipboard
The 32-bit ARGB color to create a disabled border Color from.
Link copied to clipboard
The 32-bit ARGB color to create an error border Color from.
Link copied to clipboard
The 32-bit ARGB color to create a focused border Color from.
Link copied to clipboard
Focused border thickness in dp.
Link copied to clipboard
The 32-bit ARGB color to create an unfocused border Color from.
Link copied to clipboard
Unfocused border thickness in dp.