UCode constructor

const UCode({
  1. required UCodeFormat format,
  2. required String text,
  3. required Uint8List bytes,
  4. List<Offset> corners = const <Offset>[],
  5. int? eci,
  6. UCodeSource source = UCodeSource.dart,
  7. bool inverted = false,
  8. UCodeStructuredAppend? structuredAppend,
  9. String? errorCorrectionLevel,
  10. int? version,
  11. int? mask,
})

Implementation

const UCode({
  required this.format,
  required this.text,
  required this.bytes,
  this.corners = const <Offset>[],
  this.eci,
  this.source = UCodeSource.dart,
  this.inverted = false,
  this.structuredAppend,
  this.errorCorrectionLevel,
  this.version,
  this.mask,
});