DataTableThemeData constructor Null safety

const DataTableThemeData(
  1. {Decoration? decoration,
  2. MaterialStateProperty<Color?>? dataRowColor,
  3. double? dataRowHeight,
  4. TextStyle? dataTextStyle,
  5. MaterialStateProperty<Color?>? headingRowColor,
  6. double? headingRowHeight,
  7. TextStyle? headingTextStyle,
  8. double? horizontalMargin,
  9. double? columnSpacing,
  10. double? dividerThickness,
  11. double? checkboxHorizontalMargin}
)

Creates a theme that can be used for ThemeData.dataTableTheme.

Implementation

const DataTableThemeData({
  this.decoration,
  this.dataRowColor,
  this.dataRowHeight,
  this.dataTextStyle,
  this.headingRowColor,
  this.headingRowHeight,
  this.headingTextStyle,
  this.horizontalMargin,
  this.columnSpacing,
  this.dividerThickness,
  this.checkboxHorizontalMargin,
});