BarcodeWidget constructor

const BarcodeWidget({
  1. Key? key,
  2. required String data,
  3. double width = 240.0,
  4. double height = 80.0,
  5. Color color = Colors.black,
  6. Color backgroundColor = Colors.white,
  7. bool showText = true,
  8. TextStyle? textStyle,
  9. BorderRadius? borderRadius,
})

Implementation

const BarcodeWidget({
  super.key,
  required this.data,
  this.width = 240.0,
  this.height = 80.0,
  this.color = Colors.black,
  this.backgroundColor = Colors.white,
  this.showText = true,
  this.textStyle,
  this.borderRadius,
});