textColor property Null safety

Color? textColor

Overrides the default value of ListTile.textColor.

This property is obsolete: please use the data ListTileThemeData.textColor property instead.

Implementation

Color? get textColor => _data != null ? _data!.textColor : _textColor;