MaterialListTile constructor

MaterialListTile({
  1. Widget? leading,
  2. Widget? title,
  3. Widget? subtitle,
  4. Widget? trailing,
  5. bool isThreeLine = false,
  6. bool? dense,
  7. EdgeInsetsGeometry? contentPadding,
  8. bool enabled = true,
  9. GestureTapCallback? onTap,
  10. GestureLongPressCallback? onLongPress,
  11. bool selected = false,
  12. Color? focusColor,
  13. Color? hoverColor,
  14. FocusNode? focusNode,
  15. bool autofocus = false,
  16. Color? tileColor,
  17. Color? selectedTileColor,
  18. bool? enableFeedback,
  19. double? horizontalTitleGap,
  20. double? minVerticalPadding,
  21. double? minLeadingWidth,
  22. bool isElevated = false,
  23. ShapeBorder? shape,
  24. VisualDensity? visualDensity,
  25. double? elevation = 6.0,
})

Implementation

MaterialListTile({
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.isThreeLine = false,
  this.dense,
  this.contentPadding,
  this.enabled = true,
  this.onTap,
  this.onLongPress,
  this.selected = false,
  this.focusColor,
  this.hoverColor,
  this.focusNode,
  this.autofocus = false,
  this.tileColor,
  this.selectedTileColor,
  this.enableFeedback,
  this.horizontalTitleGap,
  this.minVerticalPadding,
  this.minLeadingWidth,
  this.isElevated = false,
  this.shape,
  this.visualDensity,
  this.elevation = 6.0,
});