ListTileThemeModifier constructor
const
ListTileThemeModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- ListTileThemeData? data,
- bool? dense,
- ShapeBorder? shape,
- ListTileStyle? style,
- Color? selectedColor,
- Color? iconColor,
- Color? textColor,
- EdgeInsetsGeometry? contentPadding,
- Color? tileColor,
- Color? selectedTileColor,
- bool? enableFeedback,
- MaterialStateProperty<
MouseCursor?> ? mouseCursor, - double? horizontalTitleGap,
- double? minVerticalPadding,
- double? minLeadingWidth,
Creates a list tile theme that defines the color and style parameters for descendant ListTiles.
Only the data
parameter should be used. The other parameters are
redundant (are now obsolete) and will be deprecated in a future update.
Implementation
const ListTileThemeModifier({
super.key,
super.child,
super.modifierKey,
this.data,
this.dense,
this.shape,
this.style,
this.selectedColor,
this.iconColor,
this.textColor,
this.contentPadding,
this.tileColor,
this.selectedTileColor,
this.enableFeedback,
this.mouseCursor,
this.horizontalTitleGap,
this.minVerticalPadding,
this.minLeadingWidth,
});