TwoLevelListItem({Key key, Widget leading, @required Widget title, Widget trailing, bool enabled: true, GestureTapCallback onTap, GestureLongPressCallback onLongPress })

Creates an item in a two-level list.

Source

TwoLevelListItem({
  Key key,
  this.leading,
  @required this.title,
  this.trailing,
  this.enabled: true,
  this.onTap,
  this.onLongPress
}) : super(key: key) {
  assert(title != null);
}