[fix] text obscuring error

This occurs due to padding, externally added specific padding only to bottom.
This commit is contained in:
Delwin Mathew
2024-03-03 20:50:39 +05:30
parent c0723588ca
commit cd9a3d555a

View File

@ -52,6 +52,7 @@ class _FormDataFieldState extends State<FormDataField> {
), ),
), ),
hintText: widget.hintText, hintText: widget.hintText,
contentPadding: const EdgeInsets.only(bottom: 16),
focusedBorder: UnderlineInputBorder( focusedBorder: UnderlineInputBorder(
borderSide: BorderSide( borderSide: BorderSide(
color: colorScheme.primary.withOpacity( color: colorScheme.primary.withOpacity(
@ -71,7 +72,8 @@ class _FormDataFieldState extends State<FormDataField> {
widget.onFormDataTypeChanged!(p0); widget.onFormDataTypeChanged!(p0);
} }
}, },
)), ),
),
onChanged: widget.onChanged, onChanged: widget.onChanged,
), ),
), ),