-
@Immutable() public class StreamButtonStyle
-
-
Field Summary
Fields Modifier and Type Field Description private final ButtonElevationelevationprivate final Shapeshapeprivate final BorderStrokeborderprivate final ButtonColorscolorsprivate final PaddingValuescontentPaddingprivate final StreamTextStyletextStyleprivate final StreamIconStyleiconStyleprivate final StreamButtonDrawableStyledrawableStyle
-
Constructor Summary
Constructors Constructor Description StreamButtonStyle(ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
-
Method Summary
Modifier and Type Method Description final ButtonElevationgetElevation()final ShapegetShape()final BorderStrokegetBorder()final ButtonColorsgetColors()final PaddingValuesgetContentPadding()final StreamTextStylegetTextStyle()final StreamIconStylegetIconStyle()final StreamButtonDrawableStylegetDrawableStyle()final StreamButtonStylecopy(ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)Standard copy function, to utilize as much as possible from the companion object. -
-
Constructor Detail
-
StreamButtonStyle
StreamButtonStyle(ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
-
-
Method Detail
-
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()
-
copy
final StreamButtonStyle copy(ButtonElevation elevation, Shape shape, BorderStroke border, ButtonColors colors, PaddingValues contentPadding, StreamTextStyle textStyle, StreamIconStyle iconStyle, StreamButtonDrawableStyle drawableStyle)
Standard copy function, to utilize as much as possible from the companion object.
-
-
-
-