PrettyQr constructor

  1. @literal
  2. @Deprecated('Please use `PrettyQrView.data` instead. ' 'This feature was deprecated after v3.0.0.')
const PrettyQr({
  1. required String data,
  2. Key? key,
  3. ImageProvider<Object>? image,
  4. int? typeNumber,
  5. double size = 100,
  6. bool roundEdges = false,
  7. Color elementColor = const Color(0xFF000000),
  8. int errorCorrectLevel = QrErrorCorrectLevel.M,
})

Implementation

@literal
@Deprecated(
  'Please use `PrettyQrView.data` instead. '
  'This feature was deprecated after v3.0.0.',
)
const PrettyQr({
  required this.data,
  super.key,
  this.image,
  this.typeNumber,
  this.size = 100,
  this.roundEdges = false,
  this.elementColor = const Color(0xFF000000),
  this.errorCorrectLevel = QrErrorCorrectLevel.M,
});