DataTableTheme constructor Null safety

const DataTableTheme(
  1. {Key? key,
  2. required DataTableThemeData data,
  3. required Widget child}
)

Constructs a data table theme that configures all descendant DataTable widgets.

The data must not be null.

Implementation

const DataTableTheme({
  super.key,
  required this.data,
  required super.child,
}) : assert(data != null);