更新
This commit is contained in:
@@ -7,7 +7,6 @@ import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/component/base/SleepCalendarWidget.dart';
|
||||
import 'package:vbvs_app/controller/device/device_calibration_controller.dart';
|
||||
import 'package:vbvs_app/controller/theme_controller/ThemeController.dart';
|
||||
import 'package:vbvs_app/enum/CalendarType.dart';
|
||||
|
||||
getOnePicker(context, List arr, int checkIndex, Function onSelectedItemChanged,
|
||||
{bool looping = false}) {
|
||||
@@ -881,9 +880,13 @@ void showProgressDialog(
|
||||
),
|
||||
),
|
||||
Container(
|
||||
width: progress *
|
||||
// width: progress *
|
||||
// MediaQuery.of(context).size.width *
|
||||
// 0.4,
|
||||
width: progress /
|
||||
100 *
|
||||
MediaQuery.of(context).size.width *
|
||||
0.8,
|
||||
0.8, // 进度条宽度按比例计算,最大宽度是屏幕宽度的 0.8
|
||||
height: 21.rpx,
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
|
||||
Reference in New Issue
Block a user