mirror of
https://github.com/foss42/apidash.git
synced 2025-05-30 13:27:09 +08:00
Improve padding
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
#br
|
||||||
|
#br
|
||||||
|
#br
|
||||||
|
|
||||||
# Welcome to API Dash ⚡️
|
# Welcome to API Dash ⚡️
|
||||||
|
|
||||||
#br
|
#br
|
||||||
|
@ -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 kPt24o8 = EdgeInsets.only(top: 24, left: 8.0, right: 8.0, bottom: 8.0);
|
||||||
const kPt5o10 =
|
const kPt5o10 =
|
||||||
EdgeInsets.only(left: 10.0, right: 10.0, top: 5.0, bottom: 10.0);
|
EdgeInsets.only(left: 10.0, right: 10.0, top: 5.0, bottom: 10.0);
|
||||||
const kPh20v40 = EdgeInsets.symmetric(
|
const kPh20t40 = EdgeInsets.only(
|
||||||
horizontal: 20,
|
left: 20,
|
||||||
vertical: 40,
|
right: 20,
|
||||||
);
|
top: 40,
|
||||||
const kPh60v40 = EdgeInsets.symmetric(
|
|
||||||
horizontal: 60,
|
|
||||||
vertical: 40,
|
|
||||||
);
|
);
|
||||||
|
const kPh60 = EdgeInsets.symmetric(horizontal: 60);
|
||||||
|
|
||||||
const kHSpacer5 = SizedBox(width: 5);
|
const kHSpacer5 = SizedBox(width: 5);
|
||||||
const kHSpacer10 = SizedBox(width: 10);
|
const kHSpacer10 = SizedBox(width: 10);
|
||||||
|
@ -13,7 +13,7 @@ class _IntroPageState extends State<IntroPage> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const Padding(
|
return const Padding(
|
||||||
padding: kPh60v40,
|
padding: kPh60,
|
||||||
child: IntroMessage(),
|
child: IntroMessage(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
|||||||
Container(
|
Container(
|
||||||
constraints: const BoxConstraints(maxWidth: 800),
|
constraints: const BoxConstraints(maxWidth: 800),
|
||||||
child: ListView(
|
child: ListView(
|
||||||
padding: kPh20v40,
|
padding: kPh20t40,
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
children: [
|
children: [
|
||||||
Text("Settings",
|
Text("Settings",
|
||||||
|
Reference in New Issue
Block a user