更新界面布局
This commit is contained in:
@@ -123,7 +123,9 @@ class _DynamicReportDetailWidgetState extends State<DynamicReportDetailWidget> {
|
||||
"${ServiceConstant.sleep_report_url}?mac=$mac&token=${ServiceConstant.sleep_token}&date=$time";
|
||||
Get.toNamed("/sleepReportPage", arguments: sleepReportUrl);
|
||||
} else {
|
||||
TopSlideNotification.show(context,text: "当前暂无数据".tr,textColor: themeController.currentColor.sc9);
|
||||
TopSlideNotification.show(context,
|
||||
text: "当前暂无数据".tr,
|
||||
textColor: themeController.currentColor.sc9);
|
||||
}
|
||||
},
|
||||
child: Row(
|
||||
@@ -199,4 +201,11 @@ class _DynamicReportDetailWidgetState extends State<DynamicReportDetailWidget> {
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
void resetScroll() {
|
||||
_hasScrolled = false;
|
||||
if (_scrollController.hasClients) {
|
||||
_scrollController.jumpTo(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user