Improve padding

This commit is contained in:
Ankit Mahato
2023-05-04 20:50:02 +05:30
parent 149794e3bc
commit e1094643da
4 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,7 @@
#br
#br
#br
# Welcome to API Dash ⚡️
#br

View File

@ -58,14 +58,12 @@ const kP10 = EdgeInsets.all(10);
const kPt24o8 = EdgeInsets.only(top: 24, left: 8.0, right: 8.0, bottom: 8.0);
const kPt5o10 =
EdgeInsets.only(left: 10.0, right: 10.0, top: 5.0, bottom: 10.0);
const kPh20v40 = EdgeInsets.symmetric(
horizontal: 20,
vertical: 40,
);
const kPh60v40 = EdgeInsets.symmetric(
horizontal: 60,
vertical: 40,
const kPh20t40 = EdgeInsets.only(
left: 20,
right: 20,
top: 40,
);
const kPh60 = EdgeInsets.symmetric(horizontal: 60);
const kHSpacer5 = SizedBox(width: 5);
const kHSpacer10 = SizedBox(width: 10);

View File

@ -13,7 +13,7 @@ class _IntroPageState extends State<IntroPage> {
@override
Widget build(BuildContext context) {
return const Padding(
padding: kPh60v40,
padding: kPh60,
child: IntroMessage(),
);
}

View File

@ -23,7 +23,7 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
Container(
constraints: const BoxConstraints(maxWidth: 800),
child: ListView(
padding: kPh20v40,
padding: kPh20t40,
shrinkWrap: true,
children: [
Text("Settings",