child property

  1. @override
Widget child
final

Specifies a widget that can hold single child.

Widget build(BuildContext context) {
  return Scaffold(
    body: SfBarcodeTheme(
      data: SfBarcodeThemeData(
        brightness: Brightness.light
      ),
      child: SfBarcodeGenerator(
        value: 'www.sycfusion.com',
        symbology: QRCode() ,
      )
    ),
  );
}

Implementation

@override
final Widget child;