field method
void
field(})
Implementation
void field(
String fieldName,
double x,
double y,
double width,
double height, {
required double size,
bool bold = false,
String color = '#000000',
String align = 'left',
String verticalAlign = 'center',
int maxLines = 1,
bool strike = false,
bool serif = false,
String prefix = '',
String suffix = '',
}) {
_add(ReportElementType.dynamicField, x, y, width, height, {
'fieldName': fieldName,
'prefix': prefix,
'suffix': suffix,
..._textStyle(
size: size,
bold: bold,
color: color,
align: align,
verticalAlign: verticalAlign,
maxLines: maxLines,
strike: strike,
serif: serif,
),
});
}