textStyle property
Specifies the text style for barcode text.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: SfTheme(
data: SfThemeData(
barcodeThemeData: SfBarcodeThemeData(
textStyle: TestStyle(color: Colors.blue)
),
),
child: SfBarcodeGenerator(
value: 'www.sycfusion.com',
symbology: QRCode() ,
showValue: true,
),
),
)
);
}
Implementation
final TextStyle? textStyle;