PasswordInput
fun PasswordInput(modifier: Modifier = Modifier, state: PasswordInputState = rememberPasswordInputState(), hint: String? = null, enabled: Boolean = true, style: TextStyle = LocalStyle.current, alignment: Alignment.Vertical = Alignment.CenterVertically, onImeClick: () -> Boolean? = null, colorProvider: InputStatusColorProvider = InputStatusColorProvider.Default, leading: InputDecoration? = null, trailing: InputDecoration = InputDecoration.PasswordViewer)
Parameters
state
状态
hint
提示
enabled
可写入
style
文字样式
onImeClick
IME按钮点击事件
colorProvider
提示灯颜色
leading
头部装饰
trailing
尾部装饰