onListTile method
Widget
onListTile({
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool? isThreeLine,
- bool? dense,
- EdgeInsetsGeometry? contentPadding,
- bool? enabled,
- GestureTapCallback? tap,
- GestureLongPressCallback? longPress,
- bool? selected,
Implementation
Widget onListTile({
Widget? leading,
Widget? title,
Widget? subtitle,
Widget? trailing,
bool? isThreeLine,
bool? dense,
EdgeInsetsGeometry? contentPadding,
bool? enabled,
GestureTapCallback? tap,
GestureLongPressCallback? longPress,
bool? selected,
}) {
this.leading = leading ?? this.leading;
this.title = title ?? this.title;
this.subtitle = subtitle ?? this.subtitle;
this.trailing = trailing ?? this.trailing;
this.isThreeLine = isThreeLine ?? this.isThreeLine;
this.dense = dense ?? this.dense;
this.contentPadding = contentPadding ?? this.contentPadding;
this.enabled = enabled ?? this.enabled;
this.tap = tap ?? this.tap;
this.longPress = longPress ?? this.longPress;
this.selected = selected ?? this.selected;
return listTile;
}