DaviThemeData constructor

const DaviThemeData({
  1. bool columnDividerFillHeight = DaviThemeDataDefaults.columnDividerFillHeight,
  2. double columnDividerThickness = DaviThemeDataDefaults.columnDividerThickness,
  3. Color? columnDividerColor = DaviThemeDataDefaults.columnDividerColor,
  4. BoxDecoration? decoration = DaviThemeDataDefaults.tableDecoration,
  5. Color topCornerBorderColor = DaviThemeDataDefaults.topCornerBorderColor,
  6. Color topCornerColor = DaviThemeDataDefaults.topCornerColor,
  7. Color bottomCornerBorderColor = DaviThemeDataDefaults.bottomCornerBorderColor,
  8. Color bottomCornerColor = DaviThemeDataDefaults.bottomCornerColor,
  9. RowThemeData row = const RowThemeData(),
  10. CellThemeData cell = const CellThemeData(),
  11. HeaderThemeData header = const HeaderThemeData(),
  12. HeaderCellThemeData headerCell = const HeaderCellThemeData(),
  13. TableScrollbarThemeData scrollbar = const TableScrollbarThemeData(),
})

Builds a theme data.

Implementation

const DaviThemeData(
    {this.columnDividerFillHeight =
        DaviThemeDataDefaults.columnDividerFillHeight,
    this.columnDividerThickness =
        DaviThemeDataDefaults.columnDividerThickness,
    this.columnDividerColor = DaviThemeDataDefaults.columnDividerColor,
    this.decoration = DaviThemeDataDefaults.tableDecoration,
    this.topCornerBorderColor = DaviThemeDataDefaults.topCornerBorderColor,
    this.topCornerColor = DaviThemeDataDefaults.topCornerColor,
    this.bottomCornerBorderColor =
        DaviThemeDataDefaults.bottomCornerBorderColor,
    this.bottomCornerColor = DaviThemeDataDefaults.bottomCornerColor,
    this.row = const RowThemeData(),
    this.cell = const CellThemeData(),
    this.header = const HeaderThemeData(),
    this.headerCell = const HeaderCellThemeData(),
    this.scrollbar = const TableScrollbarThemeData()});