TwoLevelListItem constructor

const 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.

Implementation

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