|
|
|
|
@ -10,12 +10,10 @@ import '../../core/viewModel/project_view_model.dart';
|
|
|
|
|
import '../../core/viewModel/schedule_view_model.dart';
|
|
|
|
|
import '../../icons_app/doctor_app_icons.dart';
|
|
|
|
|
import '../../utils/date-utils.dart';
|
|
|
|
|
import '../../utils/dr_app_toast_msg.dart';
|
|
|
|
|
import '../../utils/translations_delegate_base_utils.dart';
|
|
|
|
|
import '../../widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
import '../../widgets/shared/errors/error_message.dart';
|
|
|
|
|
import '../base/base_view.dart';
|
|
|
|
|
import '../patients/register_patient/CustomEditableText.dart';
|
|
|
|
|
|
|
|
|
|
class DoctorSchedulePage extends StatefulWidget {
|
|
|
|
|
@override
|
|
|
|
|
@ -188,25 +186,15 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
|
|
|
|
|
// Icon(Icons.arrow_forward, size: 16.0),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
height: 45,
|
|
|
|
|
child: ListView
|
|
|
|
|
.builder(
|
|
|
|
|
itemCount: model
|
|
|
|
|
.getDoctorRotation[
|
|
|
|
|
index]
|
|
|
|
|
.scheduleforuser![
|
|
|
|
|
index2]!
|
|
|
|
|
.shiftforuser
|
|
|
|
|
!.length,
|
|
|
|
|
itemBuilder: (context,
|
|
|
|
|
index3) =>
|
|
|
|
|
Row(children: [
|
|
|
|
|
Text(model.getDoctorRotation[index].scheduleforuser![index2].shiftforuser![index3].fromtimetext.toString()),
|
|
|
|
|
Text(TranslationBase.of(context).to),
|
|
|
|
|
Text(model.getDoctorRotation[index].scheduleforuser![index2].shiftforuser![index3].totimetext.toString())
|
|
|
|
|
])))
|
|
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
height: 45,
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
itemCount: model.getDoctorRotation[index].scheduleforuser![index2]!.shiftforuser!.length,
|
|
|
|
|
itemBuilder: (context, index3) => Row(children: [
|
|
|
|
|
Text(model.getDoctorRotation[index].scheduleforuser![index2].shiftforuser![index3].fromtimetext.toString()),
|
|
|
|
|
Text(" " + TranslationBase.of(context).to + " "),
|
|
|
|
|
Text(model.getDoctorRotation[index].scheduleforuser![index2].shiftforuser![index3].totimetext.toString())
|
|
|
|
|
])))
|
|
|
|
|
|
|
|
|
|
// ],)
|
|
|
|
|
]))),
|
|
|
|
|
|