Version: 2017.2
Experimental: this API is experimental and might be changed or removed in the future.

TextField.isPasswordField

切换到手册
public bool isPasswordField ;

描述

要遮罩字符,则将此设置为 true,否则设置为 false。