textColor property

Color? textColor
final

The color of the tile's titles when the sublist is expanded.

Used to override to the ListTileThemeData.textColor.

If this property is null then ExpansionTileThemeData.textColor is used. If that is also null then and ThemeData.useMaterial3 is true, color of the TextTheme.bodyLarge will be used for the title and subtitle. Otherwise, defaults to ColorScheme.primary color.

See also:

Implementation

final Color? textColor;