feat: add obscureText handling and add suffixIcon parameter to getTextFieldInputDecoration

This commit is contained in:
Udhay-Adithya
2025-07-19 14:23:12 +05:30
parent a219069ce3
commit 2253d6a2b4
2 changed files with 49 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ InputDecoration getTextFieldInputDecoration(
TextStyle? hintTextStyle,
double? hintTextFontSize,
Color? hintTextColor,
Widget? suffixIcon,
EdgeInsetsGeometry? contentPadding,
Color? focussedBorderColor,
Color? enabledBorderColor,
@@ -21,6 +22,7 @@ InputDecoration getTextFieldInputDecoration(
fontSize: hintTextFontSize,
color: hintTextColor ?? clrScheme.outlineVariant,
),
suffixIcon: suffixIcon,
hintText: hintText,
contentPadding: contentPadding ?? kP10,
focusedBorder: OutlineInputBorder(