fixed warnings

This commit is contained in:
llsajjad
2025-08-11 13:30:53 +03:30
parent 3e2d7333df
commit 79ea6f7b83
5 changed files with 95 additions and 67 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class LoginTextField extends StatelessWidget {
child: TextField(
controller: controller,
focusNode: focusNode,
obscureText: isPassword ? obscureText : false,
obscureText: isPassword && obscureText,
decoration: InputDecoration(
contentPadding: EdgeInsets.symmetric(
vertical: (fieldHeight != null ? (fieldHeight! / 2.8) : 16.0).h(),