ListTileTitleAlignment
Inherits: Enum
Defines how ListTile aligns leading
and trailing relative to the tile's title area.
The alignment is computed against the text block formed by
title and subtitle.
Use this to tune the visual balance between icon/avatar controls and text,
especially when tiles switch between one-line, two-line, and three-line layouts.
Properties
-
BOTTOM– -
CENTER– -
THREE_LINE–Uses alignment behavior optimized for three-line list tile layouts.
-
TITLE_HEIGHT–Uses alignment behavior based on title-height rules from legacy list tile layouts.
-
TOP–
Properties#
BOTTOM = 'bottom'
class-attribute
instance-attribute
#
Aligns leading and trailing
toward the bottom of the title area.
Bottom placement respects ListTile.min_vertical_padding.
CENTER = 'center'
class-attribute
instance-attribute
#
THREE_LINE = 'threeLine'
class-attribute
instance-attribute
#
Uses alignment behavior optimized for three-line list tile layouts.
This is the default alignment style in Material 3.
TITLE_HEIGHT = 'titleHeight'
class-attribute
instance-attribute
#
Uses alignment behavior based on title-height rules from legacy list tile layouts.
This is the default alignment style in Material 2.
TOP = 'top'
class-attribute
instance-attribute
#
Aligns leading and trailing
toward the top of the title area.
Top placement respects ListTile.min_vertical_padding.