Update padding fix

This commit is contained in:
Ashita Prasad
2025-05-17 04:13:55 +05:30
parent 89cbf8312b
commit 6ec2b1d273
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import 'package:apidash/consts.dart';
import 'package:apidash_design_system/apidash_design_system.dart';
import 'package:flutter/material.dart';
import 'package:multi_trigger_autocomplete_plus/multi_trigger_autocomplete_plus.dart';
@ -38,10 +39,8 @@ class EnvCellField extends StatelessWidget {
clrScheme,
hintText: hintText,
isDense: true,
contentPadding: const EdgeInsets.symmetric(vertical: 9.0, horizontal: 10.0),
contentPadding: kIsMobile ? kPh6b12 : null,
),
autocompleteNoTrigger: autocompleteNoTrigger,
onChanged: onChanged,
);

View File

@ -64,6 +64,11 @@ const kPs0o6 = EdgeInsets.only(
right: 6,
bottom: 6,
);
const kPh6b12 = EdgeInsets.only(
left: 6.0,
right: 6.0,
bottom: 12.0,
);
const kPh60 = EdgeInsets.symmetric(horizontal: 60);
const kPh60v60 = EdgeInsets.symmetric(vertical: 60, horizontal: 60);
const kPt24l4 = EdgeInsets.only(