collapsedTextColor property
final
The color of the tile's titles when the sublist is collapsed.
Used to override to the ListTileThemeData.textColor.
If this property is null then ExpansionTileThemeData.collapsedTextColor is used. If that is also null and ThemeData.useMaterial3 is true, color of the TextTheme.bodyLarge will be used for the title and subtitle. Otherwise, defaults to color of the TextTheme.titleMedium.
See also:
- ExpansionTileTheme.of, which returns the nearest ExpansionTileTheme's ExpansionTileThemeData.
Implementation
final Color? collapsedTextColor;