brightness property

Brightness? brightness

The brightness of the overall theme of the application for the SfDataGrid widgets.

If brightness is not specified, then based on the Theme.of(context).colorScheme.brightness, brightness for datagrid widgets will be applied.

Also refer Brightness.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          dataGridThemeData: SfDataGridThemeData(
            brightness: Brightness.dark
        child: SfDataGrid(),


final Brightness? brightness;