We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用场景: 密码显示和隐藏
The text was updated successfully, but these errors were encountered:
可以使用 TForm.of(context).reload(); 刷新表单,新增了一个密码输入示例可以参考一下。
TForm.of(context).reload();
TFormRow.input( title: "密码", value: "123456", obscureText: true, state: false, placeholder: "请输入密码", suffixWidget: (context, row) { return GestureDetector( onTap: () { row.state = !row.state; row.obscureText = !row.obscureText; TForm.of(context).reload(); }, child: Image.asset( row.state ? "lib/src/eyes_open.png" : "lib/src/eyes_close.png", width: 20, height: 20, ), ); }, ),
Sorry, something went wrong.
好的 万分感谢!!!
No branches or pull requests
使用场景: 密码显示和隐藏
The text was updated successfully, but these errors were encountered: