textStyle property
The style to use for the human readable text in barcode.
Using TextStyle to add the style to the human readable text.
Defaults to the style that use for TextStyle.
Also refer TextStyle
Widget build(BuildContext context) {
return Container(
child: SfBarcodeGenerator(value:'123456',
textStyle: TextStyle(fontSize: 16));
}
```dart
Implementation
final TextStyle? textStyle;