ListTileTitleAlignment enum

Defines how ListTile.leading and ListTile.trailing are vertically aligned relative to the ListTile's titles (ListTile.title and ListTile.subtitle).

See also:

Inheritance

Constructors

ListTileTitleAlignment()
const

Values

threeLine → const ListTileTitleAlignment

The top of the ListTile.leading and ListTile.trailing widgets are placed ListTile.minVerticalPadding below the top of the ListTile.title if ListTile.isThreeLine is true, otherwise they're centered relative to the ListTile.title and ListTile.subtitle widgets.

This is the default when ThemeData.useMaterial3 is true.

titleHeight → const ListTileTitleAlignment

The tops of the ListTile.leading and ListTile.trailing widgets are placed 16 units below the top of the ListTile.title if the titles' overall height is greater than 72, otherwise they're centered relative to the ListTile.title and ListTile.subtitle widgets.

This is the default when ThemeData.useMaterial3 is false.

top → const ListTileTitleAlignment

The tops of the ListTile.leading and ListTile.trailing widgets are placed ListTile.minVerticalPadding below the top of the ListTile.title.

center → const ListTileTitleAlignment

The ListTile.leading and ListTile.trailing widgets are centered relative to the ListTile's titles.

bottom → const ListTileTitleAlignment

The bottoms of the ListTile.leading and ListTile.trailing widgets are placed ListTile.minVerticalPadding above the bottom of the ListTile's titles.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ListTileTitleAlignment>
A constant List of the values in this enum, in order of their declaration.