CupertinoListTile constructor
const
CupertinoListTile({
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool isThreeLine = false,
- bool? dense,
- EdgeInsetsGeometry? contentPadding,
- bool enabled = true,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- MouseCursor? mouseCursor,
- bool selected = false,
- ShapeBorder? border,
- Color pressColor = CupertinoColors.systemFill,
- Color? focusColor,
- Color? hoverColor,
- FocusNode? focusNode,
- bool autofocus = false,
Creates a list tile.
Implementation
const CupertinoListTile({
Key? key,
this.leading,
this.title,
this.subtitle,
this.trailing,
this.isThreeLine = false,
this.dense,
this.contentPadding,
this.enabled = true,
this.onTap,
this.onLongPress,
this.mouseCursor,
this.selected = false,
this.border,
this.pressColor = CupertinoColors.systemFill,
this.focusColor,
this.hoverColor,
this.focusNode,
this.autofocus = false,
}) : assert(!isThreeLine || subtitle != null),
super(key: key);