ListItem({Key key, Widget leading, Widget title, Widget subtitle, Widget trailing, bool isThreeLine: false, bool dense: false, bool enabled: true, GestureTapCallback onTap, GestureLongPressCallback onLongPress })

Creates a list item.

If isThreeLine is true, then subtitle must not be null.

Requires one of its ancestors to be a Material widget.

Source

ListItem({
  Key key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.isThreeLine: false,
  this.dense: false,
  this.enabled: true,
  this.onTap,
  this.onLongPress
}) : super(key: key);