SimpleListTile constructor

const SimpleListTile({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. bool isThreeLine = false,
  7. bool dense = false,
  8. EdgeInsetsGeometry? contentPadding,
  9. bool enabled = true,
  10. GestureTapCallback? onTap,
  11. GestureLongPressCallback? onLongPress,
  12. bool selected = false,
})

Creates a list tile.

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

Requires one of its ancestors to be a Material widget.

Implementation

const SimpleListTile({
  Key? key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.isThreeLine = false,
  this.dense = false,
  this.contentPadding,
  this.enabled = true,
  this.onTap,
  this.onLongPress,
  this.selected = false,
}) : super(key: key);