人员资料填写方法改为选择 睡眠数据的多语言
This commit is contained in:
@@ -753,141 +753,6 @@ Future<void> showHeightPickerDialog(
|
||||
);
|
||||
}
|
||||
|
||||
// Future showDayTimeSelectionDialog(BuildContext context,
|
||||
// {required List<int> dayTimeArr, Function? checkChange, String title = ""}) {
|
||||
// ThemeController themeController = Get.find();
|
||||
|
||||
// final hours = List.generate(24, (i) => i);
|
||||
// final minutes = List.generate(60, (i) => i);
|
||||
|
||||
// final RxInt hoursIndex = RxInt(hours.indexOf(dayTimeArr[0]));
|
||||
// final RxInt minutesIndex = RxInt(minutes.indexOf(dayTimeArr[1]));
|
||||
|
||||
// return showDialog(
|
||||
// context: context,
|
||||
// barrierDismissible: true,
|
||||
// builder: (BuildContext context) {
|
||||
// return Stack(
|
||||
// children: [
|
||||
// Positioned(
|
||||
// bottom: 0,
|
||||
// left: 0,
|
||||
// right: 0,
|
||||
// child: Material(
|
||||
// color: Colors.transparent,
|
||||
// child: Dialog(
|
||||
// backgroundColor: stringToColor("#182B7C"),
|
||||
// insetPadding: EdgeInsets.zero,
|
||||
// shape: RoundedRectangleBorder(
|
||||
// borderRadius: BorderRadius.circular(0),
|
||||
// ),
|
||||
// child: Container(
|
||||
// width: double.infinity,
|
||||
// padding: EdgeInsets.fromLTRB(30.rpx, 10.rpx, 30.rpx, 90.rpx),
|
||||
// child: Column(
|
||||
// mainAxisSize: MainAxisSize.min,
|
||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
||||
// children: <Widget>[
|
||||
// Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
// children: [
|
||||
// Text(
|
||||
// title,
|
||||
// style: FlutterFlowTheme.of(context)
|
||||
// .bodyMedium
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: themeController.currentColor.sc3,
|
||||
// fontSize: 30.rpx,
|
||||
// ),
|
||||
// ),
|
||||
// closeIconWhite,
|
||||
// ],
|
||||
// ),
|
||||
// Container(
|
||||
// height: 240.rpx,
|
||||
// margin: EdgeInsets.only(top: 60.rpx, bottom: 60.rpx),
|
||||
// padding: EdgeInsets.only(left: 30.rpx, right: 30.rpx),
|
||||
// child: Row(
|
||||
// children: [
|
||||
// Expanded(
|
||||
// child: Padding(
|
||||
// padding:
|
||||
// EdgeInsets.symmetric(horizontal: 10.rpx),
|
||||
// child: getOnePickers(context, hours, hoursIndex,
|
||||
// unit: ''),
|
||||
// ),
|
||||
// ),
|
||||
// Text(
|
||||
// "时",
|
||||
// style: FlutterFlowTheme.of(context)
|
||||
// .bodyMedium
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: themeController.currentColor.sc3,
|
||||
// fontSize: 30.rpx,
|
||||
// ),
|
||||
// ),
|
||||
// Expanded(
|
||||
// child: Padding(
|
||||
// padding:
|
||||
// EdgeInsets.symmetric(horizontal: 10.rpx),
|
||||
// child: getOnePickers(
|
||||
// context, minutes, minutesIndex,
|
||||
// unit: ''),
|
||||
// ),
|
||||
// ),
|
||||
// Text(
|
||||
// "分",
|
||||
// style: FlutterFlowTheme.of(context)
|
||||
// .bodyMedium
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: themeController.currentColor.sc3,
|
||||
// fontSize: 30.rpx,
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// InkWell(
|
||||
// onTap: () {
|
||||
// checkChange?.call([
|
||||
// hours[hoursIndex.value],
|
||||
// minutes[minutesIndex.value]
|
||||
// ]);
|
||||
// Get.back();
|
||||
// },
|
||||
// child: Container(
|
||||
// height: 68.rpx,
|
||||
// alignment: Alignment.center,
|
||||
// decoration: BoxDecoration(
|
||||
// color: stringToColor("#D3B684"),
|
||||
// borderRadius: BorderRadius.circular(10.rpx),
|
||||
// ),
|
||||
// child: Text(
|
||||
// "确定",
|
||||
// style: FlutterFlowTheme.of(context)
|
||||
// .bodyMedium
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: themeController.currentColor.sc3,
|
||||
// fontSize: 30.rpx,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// );
|
||||
// },
|
||||
// );
|
||||
// }
|
||||
|
||||
Future showDayTimeSelectionDialog(
|
||||
BuildContext context, {
|
||||
|
||||
Reference in New Issue
Block a user