|
|
|
@ -8,6 +8,7 @@ import 'package:doctor_app_flutter/screens/prescription/add_prescription_form.da
|
|
|
|
import 'package:doctor_app_flutter/screens/prescription/prescription_items_page.dart';
|
|
|
|
import 'package:doctor_app_flutter/screens/prescription/prescription_items_page.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-profile-header-new-design-app-bar.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-profile-header-new-design.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-profile-header-new-design.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/Text.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/Text.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_expandable_notifier_new.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_expandable_notifier_new.dart';
|
|
|
|
@ -30,14 +31,13 @@ class PrescriptionsPage extends StatelessWidget {
|
|
|
|
onModelReady: (model) => model.getPrescriptions(patient),
|
|
|
|
onModelReady: (model) => model.getPrescriptions(patient),
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
baseViewModel: model,
|
|
|
|
baseViewModel: model,
|
|
|
|
isShowAppBar: false,
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
|
|
|
appBar: PatientProfileHeaderNewDesignAppBar(patient, arrivalType ?? '0', patientType),
|
|
|
|
body: FractionallySizedBox(
|
|
|
|
body: FractionallySizedBox(
|
|
|
|
widthFactor: 1.0,
|
|
|
|
widthFactor: 1.0,
|
|
|
|
child: ListView(
|
|
|
|
child: ListView(
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
PatientProfileHeaderNewDesign(
|
|
|
|
|
|
|
|
patient, arrivalType ?? '0', patientType),
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 12,
|
|
|
|
height: 12,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|