getResultNotFound function
Implementation
Widget getResultNotFound({Function()? onRefresh}) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
getIcon("sad",
color: MahasColors.blackColor,
size: MahasDimensions.getWidthPercentSize(
MahasDimensions.topViewHeight)),
getSpaceHeight(3),
Visibility(
visible: onRefresh != null,
child: getButton("Retry", onRefresh!),
),
],
);
}