fix issues

merge-requests/459/head
Elham Rababah 5 years ago
parent 76b80600c6
commit 3a7faf6b66

@ -322,4 +322,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 649616dc336b3659ac6b2b25159d8e488e042b69 PODFILE CHECKSUM: 649616dc336b3659ac6b2b25159d8e488e042b69
COCOAPODS: 1.10.1 COCOAPODS: 1.10.0.rc.1

@ -141,24 +141,29 @@ class PatientProfileScreen extends StatelessWidget {
if (patient.episodeNo != 0) if (patient.episodeNo != 0)
BorderedButton( BorderedButton(
"${TranslationBase.of(context).update}\n${TranslationBase.of(context).episode}", "${TranslationBase.of(context).update}\n${TranslationBase.of(context).episode}",
backgroundColor: Colors.red.shade700, backgroundColor:
textColor: Colors.white, patient.patientStatusType == 43
vPadding: 8, ? Colors.red.shade700
radius: 30, : Colors.grey.shade700,
hPadding: 20, textColor: Colors.white,
fontWeight: FontWeight.normal, vPadding: 8,
fontSize: 12, radius: 30,
fontFamily: 'Poppins', hPadding: 20,
icon: Image.asset( fontWeight: FontWeight.normal,
"assets/images/modilfy-episode.png", fontSize: 12,
color: Colors.white, fontFamily: 'Poppins',
height: 30, icon: Image.asset(
"assets/images/modilfy-episode.png",
color: Colors.white,
height: 30,
), ),
handler: () { handler: () {
Navigator.of(context).pushNamed( if (patient.patientStatusType == 43) {
UPDATE_EPISODE, Navigator.of(context).pushNamed(
arguments: {'patient': patient}); UPDATE_EPISODE,
}, arguments: {'patient': patient});
};
}
), ),
], ],
), ),

@ -26,7 +26,7 @@ class StepsWidget extends StatelessWidget {
color: Colors.transparent, color: Colors.transparent,
child: Center( child: Center(
child: Container( child: Container(
width: MediaQuery.of(context).size.width * 0.87, width: MediaQuery.of(context).size.width * 0.86,
child: Divider( child: Divider(
color: Colors.grey, color: Colors.grey,
height: 0.75, height: 0.75,

@ -95,7 +95,7 @@ class _UpdateSoapIndexState extends State<UpdateSoapIndex>
child: StepsWidget( child: StepsWidget(
index: _currentIndex, index: _currentIndex,
changeCurrentTab: changePageViewIndex, changeCurrentTab: changePageViewIndex,
height: MediaQuery.of(context).size.height * 0.20, height: 135,//MediaQuery.of(context).size.height * 0.17,
), ),
), ),
Container( Container(

Loading…
Cancel
Save