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
Available extensions

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 pixels below the top of the ListTile.title widget, if the ListTile's overall height is greater than 72, otherwise the ListTile.trailing widget is centered relative to the ListTile.title and ListTile.subtitle widgets, and the ListTile.leading widget is 16 pixels below the top of ListTile.title, or center-aligned with ListTile.title, whichever makes the ListTile.leading closer to the top edge of ListTile.title.

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
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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.