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.text
/
PasswordInput
Password
Input
@
Composable
fun
PasswordInput
(
state
:
InputState
=
rememberInputState()
,
modifier
:
Modifier
=
Modifier
,
hint
:
String
?
=
null
,
enabled
:
Boolean
=
true
,
style
:
TextStyle
=
LocalStyle.current
,
mask
:
Char
=
'\u2022'
,
onImeClick
:
KeyboardActionScope
.
(
)
->
Unit
?
=
null
,
colorProvider
:
InputStatusColorProvider
=
InputStatusColorProvider.Default
,
leading
:
InputDecoration
?
=
null
,
trailing
:
InputDecoration
=
InputDecoration.PasswordViewer
)
Parameters
state
状态
hint
提示
enabled
可写入
style
文字样式
mask
密码遮盖符
on
Ime
Click
IME按钮点击事件
color
Provider
提示灯颜色
leading
头部装饰
trailing
尾部装饰