ScanlyQRGenerator constructor

ScanlyQRGenerator({
  1. Key? key,
  2. required String data,
  3. Color backgroundColor = Colors.transparent,
  4. Color? foregroundColor,
  5. double? size,
  6. bool circled = false,
  7. ImageProvider<Object>? embeddedImage,
  8. EdgeInsets padding = const EdgeInsets.all(10),
})

Implementation

ScanlyQRGenerator({
  Key? key,
  required this.data,
  this.backgroundColor = Colors.transparent,
  this.foregroundColor,
  this.size,
  this.circled = false,
  this.embeddedImage,
  this.padding = const EdgeInsets.all(10),
}) : assert(data.trim().isNotEmpty), super(key: key);