SystemBarColorHelperBuilder
Functions
Link copied to clipboard
abstract fun register(flow: Flow<Boolean>, colorMode: ColorMode = ColorMode.ThemeBased, statusColorMode: ColorMode = colorMode, navigationColorMode: ColorMode = colorMode, systemBarAlpha: Int = SEMI_TRANSPARENT_ALPHA, @IntRange(from = 0, to = 255) statusBarAlpha: Int = systemBarAlpha, @IntRange(from = 0, to = 255) navigationBarAlpha: Int = systemBarAlpha): SystemBarColorHelperBuilder
When this flow emits true and it is the first one to do so, system bars will be colored according to the provided options.
Link copied to clipboard
abstract fun registerDefault(colorMode: ColorMode = ColorMode.ThemeBased, statusColorMode: ColorMode = colorMode, navigationColorMode: ColorMode = colorMode, systemBarAlpha: Int = SEMI_TRANSPARENT_ALPHA, @IntRange(from = 0, to = 255) statusBarAlpha: Int = systemBarAlpha, @IntRange(from = 0, to = 255) navigationBarAlpha: Int = systemBarAlpha): SystemBarColorHelper
When none of the registered flows emit true, system bars will be colored according to the provided options.