StreamFixedSizeButtonStyle
open class StreamFixedSizeButtonStyle(val width: Dp, val height: Dp, val elevation: ButtonElevation?, val shape: Shape, val border: BorderStroke?, val colors: ButtonColors, val contentPadding: PaddingValues, val textStyle: StreamTextStyle, val iconStyle: StreamIconStyle, val drawableStyle: StreamButtonDrawableStyle) : StreamButtonStyle
A style that also suggest a fixed size. Size is not guaranteed and depends on the implementing composable.
Constructors
Link copied to clipboard
constructor(width: Dp, height: Dp, elevation: ButtonElevation?, shape: Shape, border: BorderStroke?, colors: ButtonColors, contentPadding: PaddingValues, textStyle: StreamTextStyle, iconStyle: StreamIconStyle, drawableStyle: StreamButtonDrawableStyle)
Properties
Inherited properties
Functions
Link copied to clipboard
fun copyFixed(width: Dp = this.width, height: Dp = this.height, elevation: ButtonElevation? = this.elevation, shape: Shape = this.shape, border: BorderStroke? = this.border, colors: ButtonColors = this.colors, contentPadding: PaddingValues = this.contentPadding, textStyle: StreamTextStyle = this.textStyle, iconStyle: StreamIconStyle = this.iconStyle, drawableStyle: StreamButtonDrawableStyle = this.drawableStyle): StreamFixedSizeButtonStyle
Inherited functions
Link copied to clipboard
fun copy(elevation: ButtonElevation? = this.elevation, shape: Shape = this.shape, border: BorderStroke? = this.border, colors: ButtonColors = this.colors, contentPadding: PaddingValues = this.contentPadding, textStyle: StreamTextStyle = this.textStyle, iconStyle: StreamIconStyle = this.iconStyle, drawableStyle: StreamButtonDrawableStyle = this.drawableStyle): StreamButtonStyle
Standard copy function, to utilize as much as possible from the companion object.