PlatformListTile constructor

PlatformListTile({
  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? tileColorM,
  17. Color? selectedTileColorM,
  18. bool? enableFeedbackM,
  19. double? horizontalTitleGapM,
  20. double? minVerticalPaddingM,
  21. double? minLeadingWidthM,
  22. bool isElevatedM = false,
  23. ShapeBorder? shapeM,
  24. VisualDensity? visualDensityM,
  25. double elevationM = 6.0,
})

Implementation

PlatformListTile({
  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.tileColorM,
  this.selectedTileColorM,
  this.enableFeedbackM,
  this.horizontalTitleGapM,
  this.minVerticalPaddingM,
  this.minLeadingWidthM,
  this.isElevatedM = false,
  this.shapeM,
  this.visualDensityM,
  this.elevationM = 6.0,
});