Package-level declarations

Types

Link copied to clipboard
data class BadgeStyle(val size: Dp, val color: Color, val textStyle: TextStyle, val contentPaddings: PaddingValues) : StreamStyle
Link copied to clipboard
Link copied to clipboard
data class ButtonDrawableStyle(val scale: ContentScale, val alpha: Float, val colorFilter: ColorFilter?, val padding: PaddingValues) : StreamStyle

Represents a style for drawables used on buttons. Consists of scale and padding.

Link copied to clipboard

Provides default button drawable style.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class CompositeStyleProvider(val iconStyles: IconStyleProvider = IconStyles, val textFieldStyles: TextFieldStyleProvider = StreamTextFieldStyles, val textStyles: TextStyleProvider = StreamTextStyles, val buttonStyles: ButtonStyleProvider = ButtonStyles, val dialogStyles: DialogStyleProvider = StreamDialogStyles, val badgeStyles: BadgeStyleProvider = StreamBadgeStyles)

Composite styles provider providing various components styles.

Link copied to clipboard
data class DialogStyle(val shape: Shape, val backgroundColor: Color, val titleStyle: TextStyle, val contentTextStyle: TextStyle, val iconStyle: IconStyle, val contentPaddings: PaddingValues) : StreamStyle
Link copied to clipboard
Link copied to clipboard
data class IconStyle(val color: Color, val padding: PaddingValues = PaddingValues(0.dp)) : StreamStyle

Represents an icon style. Consists of color and padding.

Link copied to clipboard

Provides default icon style.

Link copied to clipboard

Object accessor for a default IconStyleProvider

Link copied to clipboard
Link copied to clipboard

Contains state styles for the button drawable.

Link copied to clipboard
open class StreamButtonStyle(val elevation: ButtonElevation?, val shape: Shape, val border: BorderStroke?, val colors: ButtonColors, val contentPadding: PaddingValues, val textStyle: StreamTextStyle, val iconStyle: StreamIconStyle, val drawableStyle: StreamButtonDrawableStyle)
Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
data class StreamIconStyle(val default: IconStyle, val pressed: IconStyle, val disabled: IconStyle) : StreamStateStyle<IconStyle>

Contains state styles for the icon.

Link copied to clipboard

Stream style container, containing multiple styles

Link copied to clipboard

Marker interface for all stream styles.

Link copied to clipboard

Stream text style

Link copied to clipboard
Link copied to clipboard

Possible sizes for the stile.

Link copied to clipboard

Possible interaction states.

Link copied to clipboard
data class TextFieldStyle(val textStyle: StreamTextStyle, val placeholderStyle: StreamTextStyle, val iconStyle: StreamIconStyle, val colors: TextFieldColors, val shape: Shape, val borderStroke: BorderStroke?, val paddings: PaddingValues) : StreamStyle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TextStyleWrapper(val platform: TextStyle) : StreamStyle

Wrapper for the platform text style.