|
|
|
@ -56,19 +56,7 @@ class PatientCard extends StatelessWidget {
|
|
|
|
|
width: SizeConfig.screenWidth * 0.9,
|
|
|
|
|
margin: EdgeInsets.all(6),
|
|
|
|
|
padding: EdgeInsets.only(left: projectViewModel.isArabic?5:0, right: projectViewModel.isArabic?0:5, bottom: 0, top: 0),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
boxShadow: [
|
|
|
|
|
BoxShadow(
|
|
|
|
|
color: Color(0x0000000D),
|
|
|
|
|
spreadRadius: 10,
|
|
|
|
|
blurRadius: 2.7,
|
|
|
|
|
offset: Offset(0, -3 ), // changes position of shadow
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
decoration:Helpers.getCardBoxDecoration(),
|
|
|
|
|
child: CardWithBgWidget(
|
|
|
|
|
padding: 0,
|
|
|
|
|
marginLeft: (!isMyPatient && isInpatient) ? 0 : 10,
|
|
|
|
|