update_flutter_3.16.0_voipcall
Sultan khan 2 years ago
parent e1604b09f8
commit 38d00243d8

@ -167,8 +167,7 @@ class ProfileGridForSearch extends StatelessWidget {
isInPatient: item.isInPatient,
isDischargedPatient: item.isDischargedPatient,
isDisable: item.isDisable,
onTap: () {},
//item.onTap(),
onTap:item.onTap,
isLoading: item.isLoading,
);
}).toList(),

@ -115,7 +115,7 @@ class _RadiologyHomePageState extends State<RadiologyHomePage> {
//Colors.red[900] Color(0xff404545)
color: model.radiologyList[index].isLiveCareAppodynamicment ?? false
? Colors.red[900]
: !model.radiologyList[index].isInOutPatient!
: model.radiologyList[index].isInOutPatient !=null && model.radiologyList[index].isInOutPatient==false
? Colors.black
: Color(0xffa9a089),
borderRadius: BorderRadius.only(
@ -128,9 +128,9 @@ class _RadiologyHomePageState extends State<RadiologyHomePage> {
quarterTurns: 3,
child: Center(
child: Text(
model.radiologyList[index].isLiveCareAppodynamicment!
model.radiologyList[index].isLiveCareAppodynamicment !=null && model.radiologyList[index].isLiveCareAppodynamicment==true
? TranslationBase.of(context).liveCare.toUpperCase()
: !model.radiologyList[index].isInOutPatient!
: model.radiologyList[index].isInOutPatient!=null && model.radiologyList[index].isInOutPatient==false
? TranslationBase.of(context).inPatientLabel.toUpperCase()
: TranslationBase.of(context).outpatient.toUpperCase(),
style: TextStyle(color: Colors.white),

Loading…
Cancel
Save