|
|
|
@ -1,18 +1,17 @@
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart';
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/prescription_req_model.dart';
|
|
|
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import '../../../../config/shared_pref_kay.dart';
|
|
|
|
import '../../../../config/shared_pref_kay.dart';
|
|
|
|
import '../../../../models/patient/vital_sign_req_model.dart';
|
|
|
|
import '../../../../config/size_config.dart';
|
|
|
|
|
|
|
|
import '../../../../models/patient/patiant_info_model.dart';
|
|
|
|
|
|
|
|
import '../../../../models/patient/prescription_req_model.dart';
|
|
|
|
import '../../../../providers/patients_provider.dart';
|
|
|
|
import '../../../../providers/patients_provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import '../../../../util/dr_app_shared_pref.dart';
|
|
|
|
import '../../../../util/dr_app_shared_pref.dart';
|
|
|
|
import '../../../../widgets/shared/app_scaffold_widget.dart';
|
|
|
|
import '../../../../widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
|
|
|
import '../../../../widgets/shared/app_texts_widget.dart';
|
|
|
|
import '../../../../widgets/shared/card_with_bg_widget.dart';
|
|
|
|
import '../../../../widgets/shared/card_with_bg_widget.dart';
|
|
|
|
import '../../../../widgets/shared/dr_app_circular_progress_Indeicator.dart';
|
|
|
|
import '../../../../widgets/shared/dr_app_circular_progress_Indeicator.dart';
|
|
|
|
|
|
|
|
import '../../../../widgets/shared/profile_image_widget.dart';
|
|
|
|
|
|
|
|
|
|
|
|
DrAppSharedPreferances sharedPref = new DrAppSharedPreferances();
|
|
|
|
DrAppSharedPreferances sharedPref = new DrAppSharedPreferances();
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,16 +108,9 @@ class _PrescriptionScreenState extends State<PrescriptionScreen> {
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
CircleAvatar(
|
|
|
|
ProfileImageWidget(url:patientsProv
|
|
|
|
radius:
|
|
|
|
|
|
|
|
SizeConfig.imageSizeMultiplier *
|
|
|
|
|
|
|
|
12,
|
|
|
|
|
|
|
|
backgroundImage: NetworkImage(
|
|
|
|
|
|
|
|
patientsProv
|
|
|
|
|
|
|
|
.patientPrescriptionsList[index]
|
|
|
|
.patientPrescriptionsList[index]
|
|
|
|
.doctorImageURL),
|
|
|
|
.doctorImageURL),
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.fromLTRB(
|
|
|
|
padding: const EdgeInsets.fromLTRB(
|
|
|
|
|