isTextObscured property

bool isTextObscured

isTextObscured determines weather or not the text in the text field should be obscured at any given moment, if obscureText is set in the widget constructor, this value changes depending on user interaction with the trailing icon of the generated decoration which is provided to the builder.

Implementation

bool get isTextObscured => _isTextObscured;