|
|
|
|
@ -7,14 +7,13 @@ import 'package:doctor_app_flutter/screens/base/base_view.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/PatientProfileButton.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_in_patient.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/loader/gif_loader_dialog_utils.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/text_fields/text_fields_utils.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../routes.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -90,18 +89,32 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
PatientProfileHeaderNewDesignAppBar(patient,arrivalType??'0',patientType,isInpatient: isInpatient, height: (patient.patientStatusType != null && patient.patientStatusType == 43)?265:0,),
|
|
|
|
|
Container(
|
|
|
|
|
child: isFromSearch ?Column(
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
|
|
tabsBar(context,screenSize),
|
|
|
|
|
SizedBox(height: 10,),
|
|
|
|
|
if(_activeTab==0)
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 15.0,horizontal: 15),
|
|
|
|
|
child: GridView.count(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
PatientProfileHeaderNewDesignAppBar(
|
|
|
|
|
patient,
|
|
|
|
|
arrivalType ?? '0',
|
|
|
|
|
patientType,
|
|
|
|
|
isInpatient: isInpatient,
|
|
|
|
|
height: (patient.patientStatusType != null &&
|
|
|
|
|
patient.patientStatusType == 43)
|
|
|
|
|
? 210
|
|
|
|
|
: 0,
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: isFromSearch
|
|
|
|
|
? Column(
|
|
|
|
|
children: [
|
|
|
|
|
tabsBar(context, screenSize),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
if (_activeTab == 0)
|
|
|
|
|
Padding(
|
|
|
|
|
padding:
|
|
|
|
|
const EdgeInsets.symmetric(
|
|
|
|
|
vertical: 15.0,
|
|
|
|
|
horizontal: 15),
|
|
|
|
|
child: GridView.count(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
crossAxisSpacing: 10,
|
|
|
|
|
mainAxisSpacing: 10,
|
|
|
|
|
@ -683,7 +696,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>with SingleT
|
|
|
|
|
BaseView<SOAPViewModel>(
|
|
|
|
|
onModelReady: (model) async {},
|
|
|
|
|
builder: (_, model, w) => Positioned(
|
|
|
|
|
top: 210,
|
|
|
|
|
top: 180,
|
|
|
|
|
left: 20,
|
|
|
|
|
right: 20,
|
|
|
|
|
child: Row(
|
|
|
|
|
|