ComposePreferences
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
ComposePreferences
number
/
com.michaelflisar.composepreferences.screen.number
/
PreferenceNumberDefaults
Preference
Number
Defaults
@
Stable
object
PreferenceNumberDefaults
Members
Functions
dialog
Link copied to clipboard
@
Composable
fun
<
T
:
Number
>
dialog
(
dialogState
:
DialogState
,
value
:
T
,
onValueChange
:
(
value
:
T
)
->
Unit
,
min
:
T
,
max
:
T
,
stepSize
:
T
,
formatter
:
(
value
:
T
)
->
String
=
{ it.toString() }
,
title
:
String
,
icon
:
@
Composable
(
)
->
Unit
?
=
null
)
item
Setup
Link copied to clipboard
@
Composable
fun
itemSetup
(
style
:
PreferenceNumber.Style
)
:
PreferenceItemSetup
item
Setup
Buttons
Link copied to clipboard
@
Composable
fun
itemSetupButtons
(
)
:
PreferenceItemSetup
item
Setup
Picker
Link copied to clipboard
@
Composable
fun
itemSetupPicker
(
)
:
PreferenceItemSetup
item
Setup
Slider
Link copied to clipboard
@
Composable
fun
itemSetupSlider
(
)
:
PreferenceItemSetup