Skip to content

DataTableTheme

Customizes the appearance of DataTable controls across the app.

属性 ​

名称类型默认值说明
checkbox_horizontal_marginOptional[Number]NoneOverrides the default value for checkbox_horizontal_margin.
column_spacingOptional[Number]NoneOverrides the default value for column_spacing.
data_row_max_heightOptional[Number]NoneOverrides the default value for data_row_max_height.
data_row_min_heightOptional[Number]NoneOverrides the default value for data_row_min_height.
data_row_colorOptional[ControlStateValue[ColorValue]]NoneOverrides the default value for data_row_color.
data_text_styleOptional[TextStyle]NoneOverrides the default value for data_text_style.
divider_thicknessOptional[Number]NoneOverrides the default value for divider_thickness.
horizontal_marginOptional[Number]NoneOverrides the default value for horizontal_margin.
heading_text_styleOptional[TextStyle]NoneOverrides the default value for heading_text_style.
heading_row_colorOptional[ControlStateValue[ColorValue]]NoneOverrides the default value for heading_row_color.
heading_row_heightOptional[Number]NoneOverrides the default value for heading_row_height.
data_row_cursorOptional[ControlStateValue[MouseCursor]]NoneOverrides the default value for DataRow mouse cursor.
decorationOptional[BoxDecoration]NoneOverrides the default value for DataTable decoration.
heading_row_alignmentOptional[MainAxisAlignment]NoneOverrides the default value for heading_row_alignment.
heading_cell_cursorOptional[ControlStateValue[MouseCursor]]NoneOverrides the default value for DataColumn mouse cursor.

关注我,学习大模型、大数据、Python等热门技术。