toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming.compose
/
DashTypography
/
Style
Style
@
Immutable
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
Style
(
val
fontFamily
:
FontFamily
,
val
size
:
TextUnit
,
val
lineHeight
:
TextUnit
)
Members
Constructors
Style
Link copied to clipboard
constructor
(
fontFamily
:
FontFamily
,
size
:
TextUnit
,
lineHeight
:
TextUnit
)
Properties
font
Family
Link copied to clipboard
val
fontFamily
:
FontFamily
line
Height
Link copied to clipboard
val
lineHeight
:
TextUnit
size
Link copied to clipboard
val
size
:
TextUnit
Functions
to
Span
Style
Link copied to clipboard
fun
toSpanStyle
(
)
:
SpanStyle
to
Text
Style
Link copied to clipboard
fun
toTextStyle
(
)
:
TextStyle