Messages constructor
const
Messages({
- String createButton = 'Create',
- String textLabel = 'Enter barcode text here',
- String formatLabel = 'Format',
- String marginLabel = 'Margin',
- String eccLevelLabel = 'ECC Level',
- String widthLabel = 'Width',
- String heightLabel = 'Height',
- String lowEccLevel = 'Low (7%)',
- String mediumEccLevel = 'Medium (15%)',
- String quartileEccLevel = 'Quartile (25%)',
- String highEccLevel = 'High (30%)',
- String invalidText = 'Please enter some text',
- String invalidWidth = 'Invalid width',
- String invalidHeight = 'Invalid height',
- String invalidMargin = 'Invalid margin',
Implementation
const Messages({
this.createButton = 'Create',
this.textLabel = 'Enter barcode text here',
this.formatLabel = 'Format',
this.marginLabel = 'Margin',
this.eccLevelLabel = 'ECC Level',
this.widthLabel = 'Width',
this.heightLabel = 'Height',
this.lowEccLevel = 'Low (7%)',
this.mediumEccLevel = 'Medium (15%)',
this.quartileEccLevel = 'Quartile (25%)',
this.highEccLevel = 'High (30%)',
this.invalidText = 'Please enter some text',
this.invalidWidth = 'Invalid width',
this.invalidHeight = 'Invalid height',
this.invalidMargin = 'Invalid margin',
});