fix: 隐藏验证码输入框光标解决数字显示不全

- 添加 showCursor: false 隐藏光标
- 光标移走后数字不再被遮挡偏移

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-21 17:54:37 -08:00
parent 36f8ee1d6a
commit c1b8a441b6
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ class _SmsVerifyPageState extends ConsumerState<SmsVerifyPage> {
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
maxLength: 1,
showCursor: false, //
inputFormatters: [
FilteringTextInputFormatter.digitsOnly,
],