toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
ThemeManager
Theme
Manager
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
object
ThemeManager
Members
Properties
app
Theme
Loaded
Link copied to clipboard
val
appThemeLoaded
:
Flow
<
Boolean
>
theme
Link copied to clipboard
val
theme
:
Theme
Functions
apply
Icon
Theme
Link copied to clipboard
fun
<
R
>
applyIconTheme
(
block
:
IconTheme
.
(
)
->
R
)
:
R
get
Theme
Link copied to clipboard
fun
getTheme
(
context
:
Context
)
:
Theme
observe
Theme
Link copied to clipboard
fun
observeTheme
(
)
:
StateFlow
<
Theme
>
set
Default
Theme
Link copied to clipboard
fun
setDefaultTheme
(
factory
:
DefaultThemeFactory
)
set
Theme
Link copied to clipboard
fun
setTheme
(
theme
:
Theme
)