PlatformListTile constructor
PlatformListTile({
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool isThreeLine = false,
- bool? dense,
- EdgeInsetsGeometry? contentPadding,
- bool enabled = true,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- bool selected = false,
- Color? focusColor,
- Color? hoverColor,
- FocusNode? focusNode,
- bool autofocus = false,
- Color? tileColorM,
- Color? selectedTileColorM,
- bool? enableFeedbackM,
- double? horizontalTitleGapM,
- double? minVerticalPaddingM,
- double? minLeadingWidthM,
- bool isElevatedM = false,
- ShapeBorder? shapeM,
- VisualDensity? visualDensityM,
- 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,
});