Merge branch 'release'

This commit is contained in:
liuyanfeng 2025-08-14 09:07:01 +08:00
commit cafef880c8

View File

@ -62,7 +62,7 @@ class _LoginInputState extends State<LoginInput> {
Widget androidView() {
bool isPwd = widget.isPwd ?? false;
String pwd = (widget.controller?.text ?? '').replaceAll(RegExp(r'.'), '');
// String pwd = (widget.controller?.text ?? '').replaceAll(RegExp(r'.'), '');
return Container(
decoration: BoxDecoration(
border: Border(bottom: BorderSide(width: 0.5.h, color: Colors.grey)),
@ -95,14 +95,10 @@ class _LoginInputState extends State<LoginInput> {
inputFormatters: widget.inputFormatters,
textInputAction: TextInputAction.next,
keyboardType: isPwd ? TextInputType.emailAddress : null,
style: isPwd
? TextStyle(
style: TextStyle(
fontSize: 22.sp,
color: Colors.transparent,
letterSpacing: 2.5,
fontFamily: 'Monospace',
)
: null,
),
decoration: InputDecoration(
//
contentPadding: const EdgeInsets.only(
@ -122,20 +118,20 @@ class _LoginInputState extends State<LoginInput> {
: null,
),
),
if (isPwd)
Padding(
padding: EdgeInsets.only(
top: F.sw(skyCall: () => 27.h, xhjCall: () => widget.isLogin! ? 27.h : 39.h)),
child: Text(
pwd,
style: TextStyle(
fontSize: 22.sp,
color: AppColors.darkGrayTextColor,
letterSpacing: 2.0,
fontFamily: 'Monospace',
),
),
),
// if (isPwd)
// Padding(
// padding: EdgeInsets.only(
// top: F.sw(skyCall: () => 27.h, xhjCall: () => widget.isLogin! ? 27.h : 39.h)),
// child: Text(
// pwd,
// style: TextStyle(
// fontSize: 22.sp,
// color: AppColors.darkGrayTextColor,
// letterSpacing: 2.0,
// fontFamily: 'Monospace',
// ),
// ),
// ),
],
),
),