iconColor property Null safety

Color? iconColor

Overrides the default value of ListTile.iconColor.

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

Implementation

Color? get iconColor => _data != null ? _data!.iconColor : _iconColor;