getPendingFeesWidget method
Widget
getPendingFeesWidget(
{ - List? list,
- required bool isShowPendingFee,
})
Implementation
Widget getPendingFeesWidget({List? list, required bool isShowPendingFee}) {
if (list != null && isShowPendingFee) {
return GNCustomCard(
margin: const EdgeInsets.only(bottom: 5),
padding: EdgeInsets.zero,
// clipBehavior: Clip.antiAlias,
elevation: 0,
cardRadius: 9,
bgColor: AppColors.PendingFeeBackgroundColor,
child: ExpansionTile(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(9)),
title: Row(
children: <Widget>[
Expanded(
child: GNBoldTextWidget(
title: "Pending Fees",
fontsize: 13.sp,
fontcolor: Colors.white,
),
),
GNBoldTextWidget(
title: totalDisplayPendingFees,
fontsize: 13.sp,
fontcolor: Colors.white,
),
],
),
iconColor: Colors.white,
collapsedIconColor: Colors.white,
children: getPendingFeesWidgetChild(feeItems: list),
),
);
} else {
return Container();
}
}