86 lines
3.1 KiB
Dart
86 lines
3.1 KiB
Dart
import 'package:ef/ef.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:vbvs_app/controller/main_bottom/global_controller.dart';
|
|
import 'package:vbvs_app/controller/user_info_controller.dart';
|
|
|
|
class SleepReportPage extends StatefulWidget {
|
|
const SleepReportPage({super.key});
|
|
|
|
@override
|
|
State<SleepReportPage> createState() => _SleepReportPageState();
|
|
}
|
|
|
|
class _SleepReportPageState extends State<SleepReportPage> {
|
|
GlobalController globalController = Get.find();
|
|
UserInfoController userInfoController = Get.find();
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return LayoutBuilder(
|
|
builder: (context, boxConstraints) => GestureDetector(
|
|
onTap: () => FocusScope.of(context).unfocus(),
|
|
child: Scaffold(
|
|
// appBar: AppBar(
|
|
// backgroundColor: AppColors.bg_color,
|
|
// automaticallyImplyLeading: false,
|
|
// title: Container(
|
|
// width: double.infinity,
|
|
// height: 70.rpx,
|
|
// child: Obx(
|
|
// () => InkWell(
|
|
// onTap: () {
|
|
// Get.toNamed("/editUserInfoPage");
|
|
// },
|
|
// child: Row(
|
|
// mainAxisSize: MainAxisSize.max,
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
// children: [
|
|
// Row(
|
|
// mainAxisSize: MainAxisSize.max,
|
|
// children: [
|
|
// Container(
|
|
// width: 56.rpx,
|
|
// height: 56.rpx,
|
|
// clipBehavior: Clip.antiAlias,
|
|
// decoration: BoxDecoration(
|
|
// shape: BoxShape.circle,
|
|
// ),
|
|
// ),
|
|
// Container(
|
|
// width: 20.rpx,
|
|
// height: 0,
|
|
// decoration: BoxDecoration(
|
|
// color: Colors.white,
|
|
// shape: BoxShape.rectangle,
|
|
// ),
|
|
// ),
|
|
// Text(
|
|
// userInfoController.model.user!.nickName ?? '匿名',
|
|
// style: FlutterFlowTheme.of(context)
|
|
// .bodyMedium
|
|
// .override(
|
|
// fontFamily: 'Readex Pro',
|
|
// color: Colors.white,
|
|
// letterSpacing: 0,
|
|
// fontSize: 30.rpx),
|
|
// ),
|
|
// ],
|
|
// ),
|
|
// ],
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// actions: [],
|
|
// centerTitle: false,
|
|
// ),
|
|
|
|
body: SafeArea(
|
|
top: true,
|
|
child: Text("睡眠报告"),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|