getCustomTextValue function
Implementation
Widget getCustomTextValue(
String text, {
String? icon,
}) {
var size =
MahasDimensions.getHeightPercentSize(MahasDimensions.fontSizeMedium);
return Row(
children: [
if (icon != null) ...[
getIcon(icon, size: size),
getSpaceWidth(1),
],
getCustomText(
text,
size: size,
weight: FontWeight.w500,
),
getSpaceHeight(1.5),
],
);
}