Barcode constructor

Barcode({
  1. List<Offset>? corners,
  2. BarcodeFormat format = BarcodeFormat.ean13,
  3. Uint8List? rawBytes,
  4. BarcodeType type = BarcodeType.text,
  5. CalendarEvent? calendarEvent,
  6. ContactInfo? contactInfo,
  7. DriverLicense? driverLicense,
  8. Email? email,
  9. GeoPoint? geoPoint,
  10. Phone? phone,
  11. SMS? sms,
  12. UrlBookmark? url,
  13. WiFi? wifi,
  14. String? displayValue,
  15. required String? rawValue,
})

Implementation

Barcode({
  this.corners,
  this.format = BarcodeFormat.ean13,
  this.rawBytes,
  this.type = BarcodeType.text,
  this.calendarEvent,
  this.contactInfo,
  this.driverLicense,
  this.email,
  this.geoPoint,
  this.phone,
  this.sms,
  this.url,
  this.wifi,
  this.displayValue,
  required this.rawValue,
});