Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.ui
/
love.yinlin.compose.ui.collection
Package-level
declarations
Types
Functions
Types
Tree
View
Scope
Link copied to clipboard
@
Stable
object
TreeViewScope
Functions
Tag
View
Link copied to clipboard
@
Composable
fun
TagView
(
size
:
Int
,
titleProvider
:
(
Int
)
->
String
,
modifier
:
Modifier
=
Modifier
,
iconProvider
:
(
Int
)
->
ImageVector
?
?
=
null
,
readonly
:
Boolean
=
false
,
onClick
:
(
Int
)
->
Unit
?
=
null
,
onDelete
:
(
Int
)
->
Unit
?
=
null
,
containerColor
:
Color
=
Theme.color.backgroundVariant
,
contentColor
:
Color
=
Theme.color.onBackground
,
style
:
TextStyle
=
LocalStyle.current
,
maxItemsInEachRow
:
Int
=
Int.MAX_VALUE
,
maxLines
:
Int
=
Int.MAX_VALUE
)
标签组
Tree
View
Link copied to clipboard
@
Composable
fun
TreeView
(
color
:
Color
=
LocalColor.current
,
style
:
TextStyle
=
LocalStyle.current
,
padding
:
PaddingValues
=
Theme.padding.value
,
indent
:
Dp
=
Theme.padding.h10
,
modifier
:
Modifier
=
Modifier
,
children
:
@
Composable
TreeViewScope
.
(
)
->
Unit
)