style property Null safety

ListTileStyle? style

Overrides the default value of ListTile.style.

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

Implementation

ListTileStyle? get style => _data != null ? _data!.style : _style;