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

TextField.isPasswordField

Switch to Manual
public bool isPasswordField ;

Description

Set this to true to mask the characters and false if otherwise.