-
public final class VideoThemeKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static ProvidableCompositionLocal<VideoComponentFactory>LocalComponentFactory
-
Method Summary
Modifier and Type Method Description final ProvidableCompositionLocal<VideoComponentFactory>getLocalComponentFactory()The local composition containing the current VideoComponentFactory. final static UnitVideoTheme(Boolean isInDarkMode, StreamColors colors, StreamDimens dimens, StreamTypography typography, StreamShapes shapes, StreamRippleConfiguration rippleConfiguration, ReactionMapper reactionMapper, Boolean allowUIAutomationTest, CompositeStyleProvider styles, VideoComponentFactory componentFactory, Function0<Unit> content)Our theme that provides all the important properties for styling to the user. -
-
Method Detail
-
getLocalComponentFactory
final ProvidableCompositionLocal<VideoComponentFactory> getLocalComponentFactory()
The local composition containing the current VideoComponentFactory.
-
VideoTheme
final static Unit VideoTheme(Boolean isInDarkMode, StreamColors colors, StreamDimens dimens, StreamTypography typography, StreamShapes shapes, StreamRippleConfiguration rippleConfiguration, ReactionMapper reactionMapper, Boolean allowUIAutomationTest, CompositeStyleProvider styles, VideoComponentFactory componentFactory, Function0<Unit> content)
Our theme that provides all the important properties for styling to the user.
- Parameters:
isInDarkMode- If we're currently in the dark mode or not.colors- The set of colors we provide, wrapped in StreamColors.dimens- The set of dimens we provide, wrapped in StreamDimens.typography- The set of typography styles we provide, wrapped in StreamTypography.shapes- The set of shapes we provide, wrapped in StreamShapes.rippleConfiguration- Defines the appearance for ripples.reactionMapper- Defines a mapper of the emoji code from the reaction events.componentFactory- Provide to customize the components used throughout the UI.content- The content shown within the theme wrapper.
-
-
-
-