const
Widget.listTile(- {Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- @Default(false) bool isThreeLine,
- bool? dense,
- VisualDensity? visualDensity,
- ShapeBorder? shape,
- Color? selectedColor,
- Color? iconColor,
- Color? textColor,
- EdgeInsets? contentPadding,
- @Default(true) bool enabled,
- Callback? onTap,
- Callback? onLongPress,
- MouseCursor? mouseCursor,
- @Default(false) bool selected,
- Color? focusColor,
- Color? hoverColor,
- Color? splashColor,
- @Default(false) bool autofocus,
- Color? tileColor,
- Color? selectedTileColor,
- bool? enableFeedback,
- double? horizontalTitleGap,
- double? minVerticalPadding,
- double? minLeadingWidth}
)
Implementation
const factory Widget.listTile({
Key? key,
Widget? leading,
Widget? title,
Widget? subtitle,
Widget? trailing,
@Default(false) bool isThreeLine,
bool? dense,
VisualDensity? visualDensity,
ShapeBorder? shape,
Color? selectedColor,
Color? iconColor,
Color? textColor,
EdgeInsets? contentPadding,
@Default(true) bool enabled,
Callback? onTap,
Callback? onLongPress,
MouseCursor? mouseCursor,
@Default(false) bool selected,
Color? focusColor,
Color? hoverColor,
Color? splashColor,
@Default(false) bool autofocus,
Color? tileColor,
Color? selectedTileColor,
bool? enableFeedback,
double? horizontalTitleGap,
double? minVerticalPadding,
double? minLeadingWidth,
}) = ListTile;