subtitle property

Widget? subtitle
final

Additional content displayed below the title.

Typically a MongolText widget.

If isThreeLine is false, this should not wrap.

If isThreeLine is true, this should be configured to take a maximum of two lines. For example, you can use MongolText.maxLines to enforce the number of lines.

The subtitle's default TextStyle depends on TextTheme.bodyText2 except TextStyle.color. The TextStyle.color depends on the value of enabled and selected.

When enabled is false, the text color is set to ThemeData.disabledColor.

When selected is false, the text color is set to MongolListTileTheme.textColor if it's not null and to TextTheme.caption's color if MongolListTileTheme.textColor is null.

Implementation

final Widget? subtitle;