Companion
object Companion
Functions
Link copied to clipboard
fun defaultOtherStyle(isInDarkMode: Boolean, typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) {
true -> StreamColors.defaultDarkColors()
else -> StreamColors.defaultColors()
}, shapes: StreamShapes = StreamShapes.defaultShapes()): QuotedMessageStyle
Builds the default quoted message style for other users' messages.
Link copied to clipboard
fun defaultOwnStyle(isInDarkMode: Boolean, typography: StreamTypography, colors: StreamColors, shapes: StreamShapes): QuotedMessageStyle
Builds the default quoted message style for the current user's messages.
Link copied to clipboard
fun defaultStyle(own: Boolean, isInDarkMode: Boolean, typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) {
true -> StreamColors.defaultDarkColors()
else -> StreamColors.defaultColors()
}, shapes: StreamShapes = StreamShapes.defaultShapes()): QuotedMessageStyle
Builds the default quoted message style.