kidd3166 3 years ago
parent
commit
af69a3a9ba

+ 3 - 2
lib/pages/home/consume_page.dart

@@ -80,6 +80,7 @@ class _PageState extends State<ConsumePage> with InjectApi {
                     child: Container(
                       width: 240.0,
                       height: headerHeight,
+                      padding: EdgeInsets.only(top: 16.0),
                       child: Align(
                         alignment: Alignment.center,
                         child: CustomPaint(
@@ -96,6 +97,7 @@ class _PageState extends State<ConsumePage> with InjectApi {
                                   ),
                                   Row(
                                     children: <Widget>[
+                                      Text("     ", style: Theme.of(context).textTheme.subtitle2),
                                       ValueListenableBuilder(
                                         builder: (BuildContext context, value, Widget child) => FutureBuilder(
                                           future: createFutureType(0, _valueNotifierNow.value),
@@ -147,7 +149,7 @@ class _PageState extends State<ConsumePage> with InjectApi {
                                               Text("${value.month}.${value.day}", style: Theme.of(context).textTheme.subtitle1),
                                         ),
                                         SizedBox(
-                                          width: 12.0,
+                                          width: 6.0,
                                         ),
                                         Image.asset("lib/assets/img/setgoals_icon_date.png"),
                                       ],
@@ -159,7 +161,6 @@ class _PageState extends State<ConsumePage> with InjectApi {
                                 mainAxisSize: MainAxisSize.min,
                               ),
                             ),
-                            margin: EdgeInsets.only(top: 16.0),
                           ),
                         ),
                       ),

+ 1 - 1
lib/pages/home/duration_page.dart

@@ -92,7 +92,7 @@ class _PageState extends State<DurationPage> {
                           Center(
                             child: CircularPercentIndicator(
                               radius: 140.0,
-                              lineWidth: 12.0,
+                              lineWidth: 11.0,
                               percent: 1.0 * (snapshot.data?.today?.value ?? 0) / snapshot.data?.today?.valueTarget ?? 0.01,
                               center: Column(
                                 children: <Widget>[

+ 1 - 1
lib/pages/home/home_info_page.dart

@@ -351,7 +351,7 @@ class _PageState extends ViewStateLifecycle<HomeInfoPage, SportIndexModel> with
                               padding: const EdgeInsets.symmetric(vertical: 3.0),
                               child: CircularPercentIndicator(
                                 radius: 100.0,
-                                lineWidth: 10.0,
+                                lineWidth: 9.0,
                                 percent: 1.0 * (model?.data?.today?.value(model.data?.target?.type) ?? 0) / (model.data?.target?.valueTarget ?? 0.01),
                                 center: Column(
                                   children: <Widget>[