onListTile method
Widget
onListTile({
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool? isThreeLine,
- bool? dense,
- VisualDensity? visualDensity,
- ShapeBorder? shape,
- Color? selectedColor,
- Color? iconColor,
- Color? textColor,
- 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,
VisualDensity? visualDensity,
ShapeBorder? shape,
Color? selectedColor,
Color? iconColor,
Color? textColor,
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.iconColor = iconColor ?? this.iconColor;
this.textColor = textColor ?? this.textColor;
this.visualDensity = visualDensity ?? this.visualDensity;
this.shape = shape ?? this.shape;
this.selectedColor = selectedColor ?? this.selectedColor;
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;
}