mirror of
https://github.com/foss42/apidash.git
synced 2025-05-19 15:26:28 +08:00
Update padding fix
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
import 'package:apidash/consts.dart';
|
||||||
import 'package:apidash_design_system/apidash_design_system.dart';
|
import 'package:apidash_design_system/apidash_design_system.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:multi_trigger_autocomplete_plus/multi_trigger_autocomplete_plus.dart';
|
import 'package:multi_trigger_autocomplete_plus/multi_trigger_autocomplete_plus.dart';
|
||||||
@ -38,10 +39,8 @@ class EnvCellField extends StatelessWidget {
|
|||||||
clrScheme,
|
clrScheme,
|
||||||
hintText: hintText,
|
hintText: hintText,
|
||||||
isDense: true,
|
isDense: true,
|
||||||
contentPadding: const EdgeInsets.symmetric(vertical: 9.0, horizontal: 10.0),
|
contentPadding: kIsMobile ? kPh6b12 : null,
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
||||||
autocompleteNoTrigger: autocompleteNoTrigger,
|
autocompleteNoTrigger: autocompleteNoTrigger,
|
||||||
onChanged: onChanged,
|
onChanged: onChanged,
|
||||||
);
|
);
|
||||||
|
@ -64,6 +64,11 @@ const kPs0o6 = EdgeInsets.only(
|
|||||||
right: 6,
|
right: 6,
|
||||||
bottom: 6,
|
bottom: 6,
|
||||||
);
|
);
|
||||||
|
const kPh6b12 = EdgeInsets.only(
|
||||||
|
left: 6.0,
|
||||||
|
right: 6.0,
|
||||||
|
bottom: 12.0,
|
||||||
|
);
|
||||||
const kPh60 = EdgeInsets.symmetric(horizontal: 60);
|
const kPh60 = EdgeInsets.symmetric(horizontal: 60);
|
||||||
const kPh60v60 = EdgeInsets.symmetric(vertical: 60, horizontal: 60);
|
const kPh60v60 = EdgeInsets.symmetric(vertical: 60, horizontal: 60);
|
||||||
const kPt24l4 = EdgeInsets.only(
|
const kPt24l4 = EdgeInsets.only(
|
||||||
|
Reference in New Issue
Block a user