shape property Null safety

ShapeBorder? shape

Overrides the default value of ListTile.shape.

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

Implementation

ShapeBorder? get shape => _data != null ? _data!.shape : _shape;