QrCodeWidget constructor

const QrCodeWidget({
  1. Key? key,
  2. required String data,
  3. double size = 200.0,
  4. Color color = Colors.black,
  5. Color backgroundColor = Colors.white,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(12),
  7. BorderRadius? borderRadius,
  8. Widget? centerWidget,
})

Implementation

const QrCodeWidget({
  super.key,
  required this.data,
  this.size = 200.0,
  this.color = Colors.black,
  this.backgroundColor = Colors.white,
  this.padding = const EdgeInsets.all(12),
  this.borderRadius,
  this.centerWidget,
});