1

知道为什么隐藏密码中星星之间的空格不统一吗?它是在做某种分组吗?关于如何使其统一的任何想法?

在此处输入图像描述

这是代码片段,

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,
)
4

0 回答 0