Merge branch 'patients-new-design' into 'development'

design fixes

See merge request Cloud_Solution/doctor_app_flutter!414
merge-requests/415/merge
Mohammad Aljammal 5 years ago
commit 8b03e2c8ef

@ -73,7 +73,7 @@ class MyReferralDetailScreen extends StatelessWidget {
Expanded( Expanded(
child: AppText( child: AppText(
(Helpers.capitalize(model.patientArrivalList[0].patientDetails.fullName)), (Helpers.capitalize(model.patientArrivalList[0].patientDetails.fullName)),
fontSize: SizeConfig.textMultiplier * 3, fontSize: SizeConfig.textMultiplier * 2.5,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
backGroundcolor: Colors.white, backGroundcolor: Colors.white,
fontFamily: 'Poppins', fontFamily: 'Poppins',
@ -139,12 +139,15 @@ class MyReferralDetailScreen extends StatelessWidget {
referredOn: pendingReferral.referredOn, referredOn: pendingReferral.referredOn,
patientInfo: pendingReferral, patientInfo: pendingReferral,
), ),
SizedBox( Padding(
child: ProfileMedicalInfoWidgetSearch( padding: const EdgeInsets.symmetric(horizontal: 16),
patient: model.patientArrivalList[0], child: SizedBox(
patientType: "7", child: ProfileMedicalInfoWidgetSearch(
from: null, patient: model.patientArrivalList[0],
to: null, patientType: "7",
from: null,
to: null,
),
), ),
), ),
], ],

@ -72,7 +72,7 @@ class VitalSignDetailsScreen extends StatelessWidget {
), ),
), ),
Container( Container(
height: MediaQuery.of(context).size.height * 0.21, height: MediaQuery.of(context).size.height * 0.23,
width: double.infinity, width: double.infinity,
padding: EdgeInsets.all(12.0), padding: EdgeInsets.all(12.0),
margin: EdgeInsets.symmetric(horizontal: 16.0), margin: EdgeInsets.symmetric(horizontal: 16.0),
@ -249,14 +249,17 @@ class VitalSignDetailsScreen extends StatelessWidget {
const SizedBox( const SizedBox(
height: 4, height: 4,
), ),
AppText( FittedBox(
"${TranslationBase.of(context).bmiObeseExtreme}", fit: BoxFit.fitWidth,
fontFamily: 'Poppins', child: AppText(
fontSize: SizeConfig.textMultiplier * 1.15, "${TranslationBase.of(context).bmiObeseExtreme} fdsd",
fontWeight: FontWeight.w700, fontFamily: 'Poppins',
color: mode.getBMIStatus() == 4 fontSize: SizeConfig.textMultiplier * 1.15,
? Color(0XFFD02127) fontWeight: FontWeight.w700,
: null, color: mode.getBMIStatus() == 4
? Color(0XFFD02127)
: null,
),
), ),
AppText( AppText(
"(35<)", "(35<)",

Loading…
Cancel
Save