Barcode constructor

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

Creates a new Barcode instance.

Implementation

const Barcode({
  this.calendarEvent,
  this.contactInfo,
  this.corners = const <Offset>[],
  this.displayValue,
  this.driverLicense,
  this.email,
  this.format = BarcodeFormat.unknown,
  this.geoPoint,
  this.phone,
  this.rawBytes,
  this.rawValue,
  this.sms,
  this.type = BarcodeType.unknown,
  this.url,
  this.wifi,
});