toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-settings-ui
/
com.mapbox.dash.settings.presentation.ui.component
/
Slider
Slider
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
@
Composable
fun
Slider
(
modifier
:
Modifier
=
Modifier
,
title
:
String
,
value
:
Float
=
0.5f
,
onValueChange
:
(
Float
)
->
Unit
=
{}
,
valueRange
:
ClosedFloatingPointRange
<
Float
>
=
0f..1f
,
steps
:
Int
=
0
,
onValueChangeFinished
:
(
Float
)
->
Unit
=
{}
)
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
@
Composable
fun
Slider
(
modifier
:
Modifier
=
Modifier
,
value
:
Float
=
0.5f
,
onValueChange
:
(
Float
)
->
Unit
=
{}
,
valueRange
:
ClosedFloatingPointRange
<
Float
>
=
0f..1f
,
steps
:
Int
=
0
,
onValueChangeFinished
:
(
)
->
Unit
?
=
null
)