rowLabelCustom method
void
rowLabelCustom(})
Smart row dengan alignment untuk tanda ":" dengan custom width
Sama seperti rowLabel() tapi dengan kontrol width untuk label
Implementation
void rowLabelCustom(
String label,
String value, {
int labelWidth = 20,
FontSize size = FontSize.normal,
bool bold = false,
}) {
final paddedLabel = label.length <= labelWidth
? label.padRight(labelWidth)
: label;
final fullText = '$paddedLabel : $value';
text(fullText, size: size, bold: bold, center: false);
}