onListTile method

Widget onListTile({
  1. Widget? leading,
  2. Widget? title,
  3. Widget? subtitle,
  4. Widget? trailing,
  5. bool? isThreeLine,
  6. bool? dense,
  7. VisualDensity? visualDensity,
  8. ShapeBorder? shape,
  9. Color? selectedColor,
  10. Color? iconColor,
  11. Color? textColor,
  12. EdgeInsetsGeometry? contentPadding,
  13. bool? enabled,
  14. GestureTapCallback? tap,
  15. GestureLongPressCallback? longPress,
  16. 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;
}