ComposePreferences
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
ComposePreferences
core
/
com.michaelflisar.composepreferences.core.internal
/
PreferenceItemState
/
Root
Root
data
class
Root
(
val
children
:
MutableState
<
List
<
PreferenceItemState.Item
>
>
=
mutableStateOf(emptyList())
)
:
PreferenceItemState
Members
Constructors
Root
Link copied to clipboard
constructor
(
children
:
MutableState
<
List
<
PreferenceItemState.Item
>
>
=
mutableStateOf(emptyList())
)
Properties
all
Tags
Link copied to clipboard
open
override
val
allTags
:
MutableState
<
List
<
String
>
>
children
Link copied to clipboard
open
override
val
children
:
MutableState
<
List
<
PreferenceItemState.Item
>
>
id
Link copied to clipboard
open
override
val
id
:
Int
=
0
parent
Link copied to clipboard
open
override
val
parent
:
PreferenceItemState
?
=
null
tags
Link copied to clipboard
open
override
val
tags
:
List
<
String
>
visible
Link copied to clipboard
open
override
val
visible
:
State
<
Boolean
>
visible
Transition
State
Link copied to clipboard
open
override
val
visibleTransitionState
:
MutableTransitionState
<
Boolean
>
Functions
contains
ID
Link copied to clipboard
fun
containsID
(
id
:
Int
,
recursive
:
Boolean
=
true
)
:
Boolean
get
Children
Link copied to clipboard
fun
getChildren
(
recursive
:
Boolean
)
:
List
<
PreferenceItemState.Item
>
get
Level
Link copied to clipboard
fun
getLevel
(
)
:
Int
fun
getLevel
(
id
:
Int
,
children
:
List
<
PreferenceItemState.Item
>
)
:
Int
fun
getLevel
(
id
:
Int
)
:
Int