selectedTileColor property Null safety

Color? selectedTileColor

Overrides the default value of ListTile.selectedTileColor.

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

Implementation

Color? get selectedTileColor => _data != null ? _data!.selectedTileColor : _selectedTileColor;