BarcodeCode128 constructor

const BarcodeCode128({
  1. required bool useCode128A,
  2. required bool useCode128B,
  3. required bool useCode128C,
  4. required bool isGS1,
  5. required bool escapes,
  6. required bool keepParenthesis,
  7. required bool addSpaceAfterParenthesis,
})

Implementation

const BarcodeCode128({
  required this.useCode128A,
  required this.useCode128B,
  required this.useCode128C,
  required this.isGS1,
  required this.escapes,
  required this.keepParenthesis,
  required this.addSpaceAfterParenthesis,
}) : assert(useCode128A || useCode128B || useCode128C, "Enable at least one of the CODE 128 tables");