优化使用体验

This commit is contained in:
jyuesong
2022-01-19 15:34:28 +08:00
parent 0bdf267b36
commit 4bf2a1b61f
3 changed files with 8 additions and 12 deletions

View File

@@ -150,7 +150,7 @@ class _TaskDetailPageState extends ConsumerState<EnvDetailPage> {
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 10,
vertical: 15,
),
padding: const EdgeInsets.only(
top: 10,
@@ -196,9 +196,6 @@ class _TaskDetailPageState extends ConsumerState<EnvDetailPage> {
],
),
),
const SizedBox(
height: 30,
),
SizedBox(
width: MediaQuery.of(context).size.width - 80,
child: CupertinoButton(
@@ -217,7 +214,7 @@ class _TaskDetailPageState extends ConsumerState<EnvDetailPage> {
}),
),
const SizedBox(
height: 30,
height: 15,
),
],
),

View File

@@ -26,7 +26,7 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,
vertical: 30,
),
decoration: BoxDecoration(
color: ref.watch(themeProvider).themeColor.settingBgColor(),
@@ -176,7 +176,6 @@ class _OtherPageState extends ConsumerState<OtherPage> {
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,
),
decoration: BoxDecoration(
color: ref.watch(themeProvider).themeColor.settingBgColor(),
@@ -218,6 +217,9 @@ class _OtherPageState extends ConsumerState<OtherPage> {
],
),
),
const SizedBox(
height: 30,
),
Center(
child: SizedBox(
width: MediaQuery.of(context).size.width - 40,

View File

@@ -219,7 +219,7 @@ class _TaskDetailPageState extends ConsumerState<TaskDetailPage> {
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 10,
vertical: 15,
),
padding: const EdgeInsets.only(
top: 10,
@@ -290,9 +290,6 @@ class _TaskDetailPageState extends ConsumerState<TaskDetailPage> {
],
),
),
const SizedBox(
height: 30,
),
SizedBox(
width: MediaQuery.of(context).size.width - 80,
child: CupertinoButton(
@@ -311,7 +308,7 @@ class _TaskDetailPageState extends ConsumerState<TaskDetailPage> {
}),
),
const SizedBox(
height: 30,
height: 15,
),
],
),