backgroundColor property

Color? backgroundColor
final

The background color to fill the background of the SfBarcodeGenerator.

If it is not null, the color to be applied to the background of the SfBarcodeGenerator.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfBarcodeGenerator(value:'123456',
       backgroundColor : Colors.red));
}
```dart

Implementation

final Color? backgroundColor;