SimpleListTile constructor
const
SimpleListTile({
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool isThreeLine = false,
- bool dense = false,
- EdgeInsetsGeometry? contentPadding,
- bool enabled = true,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- 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);