|
|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
import 'package:doctor_app_flutter/config/config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/enum/viewstate.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/model/patient_muse/PatientSearchRequestModel.dart';
|
|
|
|
|
@ -6,10 +5,7 @@ import 'package:doctor_app_flutter/core/viewModel/authentication_view_model.dart
|
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/dashboard_view_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/dashboard/dashboard_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/doctor/clinic_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/patient_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/base/base_view.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/home/dashboard_slider-item-widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/home/dashboard_swipe_widget.dart';
|
|
|
|
|
@ -22,7 +18,6 @@ import 'package:doctor_app_flutter/screens/patients/patient_search/patient_searc
|
|
|
|
|
import 'package:doctor_app_flutter/screens/patients/profile/referral/patient_referral_screen.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/dr_app_toast_msg.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/helpers.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/profile-welcome-widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
@ -83,16 +78,18 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
|
StickyHeader(
|
|
|
|
|
header: Container(
|
|
|
|
|
color: Colors.grey[100],
|
|
|
|
|
padding: EdgeInsets.only(top: 10),
|
|
|
|
|
child: Stack(children: [
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: Image.asset('assets/images/menu.png',
|
|
|
|
|
width:SizeConfig.widthMultiplier* 7,),
|
|
|
|
|
iconSize: 18,
|
|
|
|
|
icon: Image.asset(
|
|
|
|
|
'assets/images/menu.png',
|
|
|
|
|
width: SizeConfig.widthMultiplier * 7,
|
|
|
|
|
),
|
|
|
|
|
iconSize: SizeConfig.heightMultiplier * 2,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
onPressed: () => Scaffold.of(context).openDrawer(),
|
|
|
|
|
),
|
|
|
|
|
Column(children: <Widget>[
|
|
|
|
|
Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
ProfileWelcomeWidget(
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
@ -204,16 +201,19 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
|
value: item.clinicID,
|
|
|
|
|
);
|
|
|
|
|
}).toList(),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
: AppText(
|
|
|
|
|
TranslationBase.of(context).noClinic),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
: AppText(
|
|
|
|
|
TranslationBase
|
|
|
|
|
.of(context)
|
|
|
|
|
.noClinic),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
isClinic: true,
|
|
|
|
|
height: 50,
|
|
|
|
|
isClinic: true,
|
|
|
|
|
height: SizeConfig.heightMultiplier *
|
|
|
|
|
(SizeConfig.isHeightShort ? 10 : 8),
|
|
|
|
|
),
|
|
|
|
|
])
|
|
|
|
|
])),
|
|
|
|
|
|