Skip to content

Commit c38c184

Browse files
committed
Update padding in request tables
1 parent e9daa89 commit c38c184

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

lib/consts.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ const kP8CollectionPane = EdgeInsets.only(
102102
const kPb10 = EdgeInsets.only(
103103
bottom: 10,
104104
);
105+
const kPb15 = EdgeInsets.only(
106+
bottom: 15,
107+
);
105108
const kPr8CollectionPane = EdgeInsets.only(right: 8.0);
106109
const kpsV5 = EdgeInsets.symmetric(vertical: 2);
107110
const kHSpacer4 = SizedBox(width: 4);
@@ -112,6 +115,7 @@ const kVSpacer5 = SizedBox(height: 5);
112115
const kVSpacer8 = SizedBox(height: 8);
113116
const kVSpacer10 = SizedBox(height: 10);
114117
const kVSpacer20 = SizedBox(height: 20);
118+
const kVSpacer40 = SizedBox(height: 40);
115119

116120
const kTabAnimationDuration = Duration(milliseconds: 200);
117121
const kTabHeight = 45.0;

lib/screens/home_page/editor_pane/details_card/request_pane/request_form_data.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,14 @@ class _FormDataBodyState extends ConsumerState<FormDataWidget> {
208208
child: Davi<FormDataModel>(daviModelRows),
209209
),
210210
),
211+
kVSpacer20,
211212
],
212213
),
213214
),
214215
Align(
215216
alignment: Alignment.bottomCenter,
216217
child: Padding(
217-
padding: const EdgeInsets.only(bottom: 30),
218+
padding: const EdgeInsets.only(bottom: 5),
218219
child: ElevatedButton.icon(
219220
onPressed: () {
220221
formRows.add(kFormDataEmptyModel);

lib/screens/home_page/editor_pane/details_card/request_pane/request_headers.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,14 @@ class EditRequestHeadersState extends ConsumerState<EditRequestHeaders> {
182182
child: Davi<NameValueModel>(model),
183183
),
184184
),
185+
kVSpacer40,
185186
],
186187
),
187188
),
188189
Align(
189190
alignment: Alignment.bottomCenter,
190191
child: Padding(
191-
padding: const EdgeInsets.only(bottom: 30),
192+
padding: kPb15,
192193
child: ElevatedButton.icon(
193194
onPressed: () {
194195
headerRows.add(kNameValueEmptyModel);

lib/screens/home_page/editor_pane/details_card/request_pane/request_params.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,14 @@ class EditRequestURLParamsState extends ConsumerState<EditRequestURLParams> {
182182
child: Davi<NameValueModel>(model),
183183
),
184184
),
185+
kVSpacer40,
185186
],
186187
),
187188
),
188189
Align(
189190
alignment: Alignment.bottomCenter,
190191
child: Padding(
191-
padding: const EdgeInsets.only(bottom: 30),
192+
padding: kPb15,
192193
child: ElevatedButton.icon(
193194
onPressed: () {
194195
paramRows.add(kNameValueEmptyModel);

0 commit comments

Comments
 (0)