barcodeThemeData property Null safety

SfBarcodeThemeData barcodeThemeData
final

Defines the default configuration of barcode widgets.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           barcodeThemeData: SfBarcodeThemeData()
         ),
         child: SfBarcodeGenerator(),
       ),
     )
  );
}

Implementation

final SfBarcodeThemeData barcodeThemeData;