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. Size size = Size.zero,
  13. SMS? sms,
  14. BarcodeType type = BarcodeType.unknown,
  15. UrlBookmark? url,
  16. 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.size = Size.zero,
  this.sms,
  this.type = BarcodeType.unknown,
  this.url,
  this.wifi,
});