Messages constructor

const Messages({
  1. String createButton = 'Create',
  2. String textLabel = 'Enter barcode text here',
  3. String formatLabel = 'Format',
  4. String marginLabel = 'Margin',
  5. String eccLevelLabel = 'ECC Level',
  6. String widthLabel = 'Width',
  7. String heightLabel = 'Height',
  8. String lowEccLevel = 'Low (7%)',
  9. String mediumEccLevel = 'Medium (15%)',
  10. String quartileEccLevel = 'Quartile (25%)',
  11. String highEccLevel = 'High (30%)',
  12. String invalidText = 'Please enter some text',
  13. String invalidWidth = 'Invalid width',
  14. String invalidHeight = 'Invalid height',
  15. 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',
});