mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
feat: add obscureText handling and add suffixIcon parameter to getTextFieldInputDecoration
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user