ITFBarCodeParams constructor
ITFBarCodeParams(})
Implementation
ITFBarCodeParams(
String data, {
bool withText = false,
double lineWidth = 2.0,
double barHeight = 100.0,
this.wideBarRatio = 2.5,
this.quietZoneRatio = 10.0,
this.bearerBarRatio = 3.0,
this.withBearerBars = true,
String? altText,
}) : assert(wideBarRatio >= 2.25 && wideBarRatio <= 3.0,
"wideBarRatio must be between 2.25 and 3.0"),
assert(quietZoneRatio >= 10,
"quietZoneRatio must be greater or equal to 10"),
assert(bearerBarRatio >= 2,
"bearerBarRatio must be greater or equal to 2"),
super(data, withText, lineWidth, barHeight, altText);