修复:大量的ScreenUtil误用,导致界面可能出现问题
(cherry picked from commit 2829da5267a14a9e0f43ff56060a68f1f8b2ca6a)
This commit is contained in:
@@ -152,7 +152,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
|
||||
),
|
||||
],
|
||||
),
|
||||
SizedBox(height: 8.w),
|
||||
SizedBox(height: 8.h),
|
||||
Text(
|
||||
value,
|
||||
style: KrAppTextStyle(
|
||||
@@ -188,9 +188,9 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 16.w),
|
||||
SizedBox(height: 16.h),
|
||||
SizedBox(
|
||||
height: 200.w,
|
||||
height: 200.h,
|
||||
child: Obx(() => LineChart(
|
||||
LineChartData(
|
||||
gridData: FlGridData(show: false),
|
||||
@@ -297,7 +297,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
|
||||
),
|
||||
],
|
||||
),
|
||||
SizedBox(height: 16.w),
|
||||
SizedBox(height: 16.h),
|
||||
Obx(() => _kr_buildLongestConnection(context)),
|
||||
],
|
||||
),
|
||||
@@ -322,7 +322,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
|
||||
color: Theme.of(context).textTheme.bodySmall?.color,
|
||||
),
|
||||
),
|
||||
SizedBox(height: 8.w),
|
||||
SizedBox(height: 8.h),
|
||||
Text(
|
||||
value,
|
||||
style: KrAppTextStyle(
|
||||
|
||||
Reference in New Issue
Block a user