tileColor property Null safety

Color? tileColor

Overrides the default value of ListTile.tileColor.

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

Implementation

Color? get tileColor => _data != null ? _data!.tileColor : _tileColor;