child property

  1. @override
Widget child
final

Specifies a widget that can hold single child.

Widget build(BuildContext context) {
  return Scaffold(
    body: SfGaugeTheme(
      data: SfGaugeThemeData(
        brightness: Brightness.dark,
        backgroundColor: Colors.grey
      ),
      child: SfRadialGauge()
    ),
  );
}

Implementation

@override
final Widget child;