dataGridThemeData property Null safety

SfDataGridThemeData dataGridThemeData
final

Defines the default configuration of datagrid widgets.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           dataGridThemeData: SfDataGridThemeData()
         ),
         child: SfDataGrid(),
       ),
     )
  );
}

Implementation

final SfDataGridThemeData dataGridThemeData;