ScanlyQRGenerator constructor
ScanlyQRGenerator({
- Key? key,
- required String data,
- Color backgroundColor = Colors.transparent,
- Color? foregroundColor,
- double? size,
- bool circled = false,
- ImageProvider<
Object> ? embeddedImage, - 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);