textColor property

Color textColor
final

Specifies the color for barcode text.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           barcodeThemeData: SfBarcodeThemeData(
             textColor: Colors.blue
             ),
           ),
         child: SfBarcodeGenerator(
           value: 'www.sycfusion.com',
           symbology: QRCode() ,
           showValue: true,
         ),
       ),
     )
  );
}

Implementation

final Color textColor;