-
public class StreamFixedSizeButtonStyle extends StreamButtonStyle
A style that also suggest a fixed size. Size is not guaranteed and depends on the implementing composable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStreamFixedSizeButtonStyle.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Dpwidthprivate final Dpheightprivate final ButtonElevationelevationprivate final Shapeshapeprivate final BorderStrokeborderprivate final ButtonColorscolorsprivate final PaddingValuescontentPaddingprivate final StreamTextStyletextStyleprivate final StreamIconStyleiconStyleprivate final StreamButtonDrawableStyledrawableStyle
-
Constructor Summary
Constructors Constructor Description StreamFixedSizeButtonStyle(Dp width, Dp height, ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
-
Method Summary
Modifier and Type Method Description final DpgetWidth()final DpgetHeight()final ButtonElevationgetElevation()final ShapegetShape()final BorderStrokegetBorder()final ButtonColorsgetColors()final PaddingValuesgetContentPadding()final StreamTextStylegetTextStyle()final StreamIconStylegetIconStyle()final StreamButtonDrawableStylegetDrawableStyle()final StreamFixedSizeButtonStylecopyFixed(Dp width, Dp height, ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)-
-
Constructor Detail
-
StreamFixedSizeButtonStyle
StreamFixedSizeButtonStyle(Dp width, Dp height, ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
-
-
Method Detail
-
getWidth
final Dp getWidth()
-
getHeight
final Dp getHeight()
-
getElevation
final ButtonElevation getElevation()
-
getShape
final Shape getShape()
-
getBorder
final BorderStroke getBorder()
-
getColors
final ButtonColors getColors()
-
getContentPadding
final PaddingValues getContentPadding()
-
getTextStyle
final StreamTextStyle getTextStyle()
-
getIconStyle
final StreamIconStyle getIconStyle()
-
getDrawableStyle
final StreamButtonDrawableStyle getDrawableStyle()
-
copyFixed
final StreamFixedSizeButtonStyle copyFixed(Dp width, Dp height, ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
-
-
-
-