obscuringCharacter property Null safety
Character used for obscuring text if obscureText is true.
Cannot be null, and must have a length of exactly one.
Implementation
String get obscuringCharacter => _obscuringCharacter;
Implementation
set obscuringCharacter(String value) {
if (_obscuringCharacter == value) {
return;
}
assert(value != null && value.characters.length == 1);
_obscuringCharacter = value;
markNeedsLayout();
}