ui fixing

This commit is contained in:
jayesh
2024-06-18 11:20:24 +05:30
parent 2fcda67bee
commit 54efe06dea
11 changed files with 143 additions and 92 deletions

View File

@@ -41,6 +41,7 @@ class FormLabelTextField extends StatelessWidget {
type == "password"
? PasswordField(
controller: textEditingController,
hintText: hintText,
)
: textFormField(
onInput: onChangeFun,

View File

@@ -13,8 +13,9 @@ import 'bloc/password_field/password_visibility_state.dart';
class PasswordField extends StatelessWidget {
final TextEditingController controller;
const PasswordField({super.key, required this.controller});
final String hintText;
const PasswordField(
{super.key, required this.controller, required this.hintText});
@override
Widget build(BuildContext context) {
@@ -121,7 +122,7 @@ class PasswordField extends StatelessWidget {
)
],
),
hintText: 'Password',
hintText: hintText,
suffixIcon: IconButton(
icon: SvgPicture.asset(
state.isPasswordVisible