1

Any idea why the spaces between the stars in the hidden passwords are not uniform? Is it doing some kind of grouping? Any thoughts on how to make it uniform?

enter image description here

Here is the code snippet,

TextField(
          key: const ValueKey('text_field'),
          enableInteractiveSelection: widget.enableInteractiveSelection,
          focusNode: _focusNode,
          obscuringCharacter: widget.obscuringCharacter ?? '•',
          controller: _textEditingController,
          inputFormatters: widget.inputFormatter,
          keyboardType: widget.keyboardType,
          obscureText: widget.obscureText ? _hidePassword : false,
          maxLength: widget.maxLength,
          maxLengthEnforcement:
              MaxLengthEnforcement.truncateAfterCompositionEnds,
          autocorrect: widget.autocorrect,
          enableSuggestions: widget.enableSuggestions,
          textAlignVertical: TextAlignVertical.center,
)
Tapas Pal
  • 7,073
  • 8
  • 39
  • 86

0 Answers0