marginTop method
Margin at the top of the barcode
Implementation
@override
double marginTop(
bool drawText,
double width,
double height,
double fontHeight,
double textPadding,
) =>
drawText ? fontHeight + textPadding : 0;
Margin at the top of the barcode
@override
double marginTop(
bool drawText,
double width,
double height,
double fontHeight,
double textPadding,
) =>
drawText ? fontHeight + textPadding : 0;