SystemBarColorHelperBuilderImpl

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun register(flow: Flow<Boolean>, colorMode: ColorMode, statusColorMode: ColorMode, navigationColorMode: ColorMode, @IntRange(from = 0, to = 255) systemBarAlpha: Int, @IntRange(from = 0, to = 255) statusBarAlpha: Int, @IntRange(from = 0, to = 255) navigationBarAlpha: Int): 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
open override fun registerDefault(colorMode: ColorMode, statusColorMode: ColorMode, navigationColorMode: ColorMode, @IntRange(from = 0, to = 255) systemBarAlpha: Int, @IntRange(from = 0, to = 255) statusBarAlpha: Int, @IntRange(from = 0, to = 255) navigationBarAlpha: Int): SystemBarColorHelper

When none of the registered flows emit true, system bars will be colored according to the provided options.