Skip to content

ListTileTheme

Customizes the appearance of descendant ListTile controls.

属性 ​

名称类型默认值说明
icon_colorOptional[ColorValue]NoneOverrides the default value for icon_color.
text_colorOptional[ColorValue]NoneOverrides the default value for text_color.
bgcolorOptional[ColorValue]NoneOverrides the default value for bgcolor.
selected_tile_colorOptional[ColorValue]NoneOverrides the default value for selected_tile_color.
selected_colorOptional[ColorValue]NoneOverrides the default value for selected_color.
is_three_lineOptional[bool]NoneOverrides the default value for is_three_line.
enable_feedbackOptional[bool]NoneOverrides the default value for enable_feedback.
denseOptional[bool]NoneOverrides the default value for dense.
shapeOptional[OutlinedBorder]NoneOverrides the default value for shape.
visual_densityOptional[VisualDensity]NoneOverrides the default value for visual_density.
content_paddingOptional[PaddingValue]NoneOverrides the default value for content_padding.
min_vertical_paddingOptional[PaddingValue]NoneOverrides the default value for min_vertical_padding.
horizontal_spacingOptional[Number]NoneOverrides the default value for horizontal_spacing.
min_leading_widthOptional[Number]NoneOverrides the default value for min_leading_width.
title_text_styleOptional[TextStyle]NoneOverrides the default value for title_text_style.
subtitle_text_styleOptional[TextStyle]NoneOverrides the default value for subtitle_text_style.
leading_and_trailing_text_styleOptional[TextStyle]NoneOverrides the default value for leading_and_trailing_text_style.
mouse_cursorOptional[ControlStateValue[MouseCursor]]NoneOverrides the default value for mouse_cursor.
min_heightOptional[Number]NoneOverrides the default value for min_height.
affinityOptional[TileAffinity]NoneOverrides the default value for affinity.
styleOptional[ListTileStyle]None覆盖 style 的默认值。
title_alignmentOptional[ListTileTitleAlignment]NoneOverrides the default value for title_alignment.

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