gridLineColor property Null safety

Color gridLineColor
final

The color for grid line.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          dataGridThemeData: SfDataGridThemeData(
            gridLineColor: Colors.red
          )
        ),
        child: SfDataGrid(),
      ),
    )
  );
}

Implementation

final Color gridLineColor;