child property

  1. @override
Widget child
final

The widget below this widget in the tree.

Widget build(BuildContext context) {
  return Scaffold(
    body: SfDataGridTheme(
      data: SfDataGridThemeData(
        brightness: Brightness.dark,
      ),
      child: SfDataGrid(columns: [],
      source: _dataGridSource)
    ),
  );
}

Implementation

@override
final Widget child;