@ -498,66 +498,66 @@ class _LandingPageState extends State<LandingPage> {
) ,
) ,
/ / Consumer for ER Online Check - In pending request
/ / Consumer for ER Online Check - In pending request
Consumer < EmergencyServicesViewModel > (
/ / Consumer < EmergencyServicesViewModel > (
builder: ( context , emergencyServicesVM , child ) {
/ / builder: ( context , emergencyServicesVM , child ) {
return emergencyServicesVM . patientHasAdvanceERBalance
/ / return emergencyServicesVM . patientHasAdvanceERBalance
? Column (
/ / ? Column (
children: [
/ / children: [
SizedBox ( height: 16. h ) ,
/ / SizedBox ( height: 16. h ) ,
Container (
/ / Container (
decoration: RoundedRectangleBorder ( ) . toSmoothCornerDecoration (
/ / decoration: RoundedRectangleBorder ( ) . toSmoothCornerDecoration (
color: AppColors . whiteColor ,
/ / color: AppColors . whiteColor ,
borderRadius: 20. r ,
/ / borderRadius: 20. r ,
hasShadow: false ,
/ / hasShadow: false ,
side: BorderSide ( color: AppColors . primaryRedColor , width: 3. h ) ,
/ / side: BorderSide ( color: AppColors . primaryRedColor , width: 3. h ) ,
) ,
/ / ) ,
width: double . infinity ,
/ / width: double . infinity ,
child: Padding (
/ / child: Padding (
padding: EdgeInsets . all ( 16. h ) ,
/ / padding: EdgeInsets . all ( 16. h ) ,
child: Column (
/ / child: Column (
crossAxisAlignment: CrossAxisAlignment . start ,
/ / crossAxisAlignment: CrossAxisAlignment . start ,
children: [
/ / children: [
/ / / / Row (
/ / / / mainAxisAlignment: MainAxisAlignment . spaceBetween ,
/ / / / children: [
/ / / / AppCustomChipWidget (
/ / / / labelText: LocaleKeys . erOnlineCheckInRequest . tr ( context: context ) ,
/ / / / backgroundColor: AppColors . primaryRedColor . withValues ( alpha: 0.10 ) ,
/ / / / textColor: AppColors . primaryRedColor ,
/ / / / ) ,
/ / / / Utils . buildSvgWithAssets ( icon: AppAssets . appointment_checkin_icon , width: 24. h , height: 24. h , iconColor: AppColors . primaryRedColor ) ,
/ / / / ] ,
/ / / / ) ,
/ / SizedBox ( height: 8. h ) ,
/ / Row (
/ / Row (
/ / mainAxisAlignment: MainAxisAlignment . spaceBetween ,
/ / mainAxisAlignment: MainAxisAlignment . spaceBetween ,
/ / children: [
/ / children: [
/ / AppCustomChipWidget (
/ / LocaleKeys . youHaveEROnlineCheckInRequest . tr ( context: context ) . toText12 ( isBold: true ) ,
/ / labelText: LocaleKeys . erOnlineCheckInRequest . tr ( context: context ) ,
/ / Transform . flip (
/ / backgroundColor: AppColors . primaryRedColor . withValues ( alpha: 0.10 ) ,
/ / flipX: getIt . get < AppState > ( ) . isArabic ( ) ,
/ / textColor: AppColors . primaryRedColor ,
/ / child: Utils . buildSvgWithAssets (
/ / icon: AppAssets . forward_arrow_icon_small ,
/ / iconColor: AppColors . blackColor ,
/ / width: 20. h ,
/ / height: 15. h ,
/ / fit: BoxFit . contain ,
/ / ) ,
/ / ) ,
/ / ) ,
/ / Utils . buildSvgWithAssets ( icon: AppAssets . appointment_checkin_icon , width: 24. h , height: 24. h , iconColor: AppColors . primaryRedColor ) ,
/ / ] ,
/ / ] ,
/ / ) ,
/ / ) ,
SizedBox ( height: 8. h ) ,
/ / ] ,
Row (
/ / ) ,
mainAxisAlignment: MainAxisAlignment . spaceBetween ,
/ / ) ,
children: [
/ / ) . paddingSymmetrical ( 24. h , 0. h ) . onPress ( ( ) {
LocaleKeys . youHaveEROnlineCheckInRequest . tr ( context: context ) . toText12 ( isBold: true ) ,
/ / Navigator . of ( context ) . push ( CustomPageRoute ( page: ErOnlineCheckinHome ( ) ) ) ;
Transform . flip (
/ / / / context . read < EmergencyServicesViewModel > ( ) . navigateToEROnlineCheckIn ( ) ;
flipX: getIt . get < AppState > ( ) . isArabic ( ) ,
/ / } ) ,
child: Utils . buildSvgWithAssets (
/ / SizedBox ( height: 12. h ) ,
icon: AppAssets . forward_arrow_icon_small ,
/ / ] ,
iconColor: AppColors . blackColor ,
/ / )
width: 20. h ,
/ / : SizedBox ( height: 0. h ) ;
height: 15. h ,
/ / } ,
fit: BoxFit . contain ,
/ / ) ,
) ,
) ,
] ,
) ,
] ,
) ,
) ,
) . paddingSymmetrical ( 24. h , 0. h ) . onPress ( ( ) {
Navigator . of ( context ) . push ( CustomPageRoute ( page: ErOnlineCheckinHome ( ) ) ) ;
/ / context . read < EmergencyServicesViewModel > ( ) . navigateToEROnlineCheckIn ( ) ;
} ) ,
SizedBox ( height: 12. h ) ,
] ,
)
: SizedBox ( height: 0. h ) ;
} ,
) ,
SizedBox ( height: 16. h ) ,
SizedBox ( height: 16. h ) ,
Row (
Row (
mainAxisAlignment: MainAxisAlignment . spaceBetween ,
mainAxisAlignment: MainAxisAlignment . spaceBetween ,