DataTableTheme
Customizes the appearance of DataTable controls across the app.
Properties
- 
          checkbox_horizontal_margin(Number | None) –Overrides the default value for 
- 
          column_spacing(Number | None) –Overrides the default value for 
- 
          data_row_color(ControlStateValue[ColorValue] | None) –Overrides the default value for 
- 
          data_row_cursor(ControlStateValue[MouseCursor] | None) –Overrides the default value for DataRowmouse cursor.
- 
          data_row_max_height(Number | None) –Overrides the default value for 
- 
          data_row_min_height(Number | None) –Overrides the default value for 
- 
          data_text_style(TextStyle | None) –Overrides the default value for 
- 
          decoration(BoxDecoration | None) –Overrides the default value for DataTabledecoration.
- 
          divider_thickness(Number | None) –Overrides the default value for 
- 
          heading_cell_cursor(ControlStateValue[MouseCursor] | None) –Overrides the default value for 
- 
          heading_row_alignment(MainAxisAlignment | None) –Overrides the default value for 
- 
          heading_row_color(ControlStateValue[ColorValue] | None) –Overrides the default value for 
- 
          heading_row_height(Number | None) –Overrides the default value for 
- 
          heading_text_style(TextStyle | None) –Overrides the default value for 
- 
          horizontal_margin(Number | None) –Overrides the default value for 
Properties#
class-attribute
      instance-attribute
  
#
checkbox_horizontal_margin: Number | None = None
Overrides the default value for
DataTable.checkbox_horizontal_margin.
class-attribute
      instance-attribute
  
#
column_spacing: Number | None = None
Overrides the default value for
DataTable.column_spacing.
class-attribute
      instance-attribute
  
#
data_row_color: ControlStateValue[ColorValue] | None = None
Overrides the default value for
DataTable.data_row_color.
class-attribute
      instance-attribute
  
#
data_row_cursor: ControlStateValue[MouseCursor] | None = (
    None
)
Overrides the default value for DataRow mouse cursor.
class-attribute
      instance-attribute
  
#
data_row_max_height: Number | None = None
Overrides the default value for
DataTable.data_row_max_height.
class-attribute
      instance-attribute
  
#
data_row_min_height: Number | None = None
Overrides the default value for
DataTable.data_row_min_height.
class-attribute
      instance-attribute
  
#
data_text_style: TextStyle | None = None
Overrides the default value for
DataTable.data_text_style.
class-attribute
      instance-attribute
  
#
decoration: BoxDecoration | None = None
Overrides the default value for DataTable decoration.
class-attribute
      instance-attribute
  
#
divider_thickness: Number | None = None
Overrides the default value for
DataTable.divider_thickness.
class-attribute
      instance-attribute
  
#
heading_cell_cursor: (
    ControlStateValue[MouseCursor] | None
) = None
Overrides the default value for
DataColumn mouse cursor.
class-attribute
      instance-attribute
  
#
heading_row_alignment: MainAxisAlignment | None = None
Overrides the default value for
DataColumn.heading_row_alignment.
class-attribute
      instance-attribute
  
#
heading_row_color: ControlStateValue[ColorValue] | None = (
    None
)
Overrides the default value for
DataTable.heading_row_color.
class-attribute
      instance-attribute
  
#
heading_row_height: Number | None = None
Overrides the default value for
DataTable.heading_row_height.
class-attribute
      instance-attribute
  
#
heading_text_style: TextStyle | None = None
Overrides the default value for
DataTable.heading_text_style.
class-attribute
      instance-attribute
  
#
horizontal_margin: Number | None = None
Overrides the default value for
DataTable.horizontal_margin.