Barcode constructor
const
Barcode({
- CalendarEvent? calendarEvent,
- ContactInfo? contactInfo,
- List<
Offset> corners = const <Offset>[], - String? displayValue,
- DriverLicense? driverLicense,
- Email? email,
- BarcodeFormat format = BarcodeFormat.unknown,
- GeoPoint? geoPoint,
- Phone? phone,
- Uint8List? rawBytes,
- String? rawValue,
- Size size = Size.zero,
- SMS? sms,
- BarcodeType type = BarcodeType.unknown,
- UrlBookmark? url,
- 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,
});