|
|
|
|
@ -17,6 +17,7 @@ import 'package:hmg_patient_app_new/widgets/appbar/collapsing_list_view.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:url_launcher/url_launcher.dart';
|
|
|
|
|
import 'dart:ui' as ui;
|
|
|
|
|
|
|
|
|
|
class LakumWalletDetails extends StatelessWidget {
|
|
|
|
|
const LakumWalletDetails({super.key});
|
|
|
|
|
@ -239,10 +240,10 @@ class LakumWalletDetails extends StatelessWidget {
|
|
|
|
|
return CustomButton(
|
|
|
|
|
height: 46.h,
|
|
|
|
|
icon: AppAssets.redeem_icon,
|
|
|
|
|
iconColor: AppColors.whiteColor,
|
|
|
|
|
iconColor: AppColors.textColor,
|
|
|
|
|
iconSize: 24.h,
|
|
|
|
|
backgroundColor: AppColors.habibPharmacyColor,
|
|
|
|
|
textColor: AppColors.whiteColor,
|
|
|
|
|
textColor: AppColors.textColor,
|
|
|
|
|
text: LocaleKeys.redeem.tr(context: context),
|
|
|
|
|
borderWidth: 0.w,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
@ -350,7 +351,10 @@ class LakumWalletDetails extends StatelessWidget {
|
|
|
|
|
maxlines: 2,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 2.h),
|
|
|
|
|
formattedDate.toText12(color: AppColors.greyTextColor),
|
|
|
|
|
Directionality(
|
|
|
|
|
textDirection: ui.TextDirection.ltr,
|
|
|
|
|
child: formattedDate.toText12(color: AppColors.greyTextColor),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -363,10 +367,10 @@ class LakumWalletDetails extends StatelessWidget {
|
|
|
|
|
isBold: true,
|
|
|
|
|
color: transactionColor,
|
|
|
|
|
),
|
|
|
|
|
if (transaction.amount != null && transaction.amount! > 0)
|
|
|
|
|
"${transaction.amount?.toStringAsFixed(2) ?? "0.00"} SAR".toText11(
|
|
|
|
|
color: AppColors.greyTextColor,
|
|
|
|
|
),
|
|
|
|
|
// if (transaction.amount != null && transaction.amount! > 0)
|
|
|
|
|
// "${transaction.amount?.toStringAsFixed(2) ?? "0.00"} SAR".toText11(
|
|
|
|
|
// color: AppColors.greyTextColor,
|
|
|
|
|
// ),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
|