VideoMediaColors
class VideoMediaColors(backgroundColor: Color, loadingProgressColor: Color, videoColors: VideoColors, errorMessageColors: ErrorMessageColors)
The colors VideoMediaScreen draws with.
Build one with its constructor and pass it to the screen's colors parameter to re-colour it without touching the theme. The screen defaults to VideoMediaDefault.videoMediaColors, which reads every value from the current CgsTheme, so a screen left alone follows whatever theme it is composed under.
Constructors
Link copied to clipboard
constructor(backgroundColor: Color, loadingProgressColor: Color, videoColors: VideoColors, errorMessageColors: ErrorMessageColors)