mirror of
https://github.com/foss42/apidash.git
synced 2025-06-18 12:28:35 +08:00
Merge pull request #251 from opxdelwin/padding-issue-on-headers
[fix] Fix vertical obscuring issue in form data section
This commit is contained in:
@ -46,32 +46,34 @@ class _FormDataFieldState extends State<FormDataField> {
|
|||||||
color: colorScheme.onSurface,
|
color: colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintStyle: kCodeStyle.copyWith(
|
hintStyle: kCodeStyle.copyWith(
|
||||||
color: colorScheme.outline.withOpacity(
|
color: colorScheme.outline.withOpacity(
|
||||||
|
kHintOpacity,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
hintText: widget.hintText,
|
||||||
|
contentPadding: const EdgeInsets.only(bottom: 16),
|
||||||
|
focusedBorder: UnderlineInputBorder(
|
||||||
|
borderSide: BorderSide(
|
||||||
|
color: colorScheme.primary.withOpacity(
|
||||||
kHintOpacity,
|
kHintOpacity,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
hintText: widget.hintText,
|
),
|
||||||
focusedBorder: UnderlineInputBorder(
|
enabledBorder: UnderlineInputBorder(
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
color: colorScheme.primary.withOpacity(
|
color: colorScheme.surfaceVariant,
|
||||||
kHintOpacity,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
enabledBorder: UnderlineInputBorder(
|
),
|
||||||
borderSide: BorderSide(
|
suffixIcon: DropdownButtonFormData(
|
||||||
color: colorScheme.surfaceVariant,
|
formDataType: widget.formDataType,
|
||||||
),
|
onChanged: (p0) {
|
||||||
),
|
if (widget.onFormDataTypeChanged != null) {
|
||||||
suffixIcon: DropdownButtonFormData(
|
widget.onFormDataTypeChanged!(p0);
|
||||||
formDataType: widget.formDataType,
|
}
|
||||||
onChanged: (p0) {
|
},
|
||||||
if (widget.onFormDataTypeChanged != null) {
|
),
|
||||||
widget.onFormDataTypeChanged!(p0);
|
),
|
||||||
}
|
|
||||||
},
|
|
||||||
)),
|
|
||||||
onChanged: widget.onChanged,
|
onChanged: widget.onChanged,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user