ListTileTheme constructor Null safety

const ListTileTheme(
  1. {Key? key,
  2. bool dense,
  3. ShapeBorder? shape,
  4. ListTileStyle style,
  5. Color? selectedColor,
  6. Color? iconColor,
  7. Color? textColor,
  8. EdgeInsetsGeometry? contentPadding,
  9. Color? tileColor,
  10. Color? selectedTileColor,
  11. bool? enableFeedback,
  12. double? horizontalTitleGap,
  13. double? minVerticalPadding,
  14. double? minLeadingWidth,
  15. required Widget child}
)

Creates a list tile theme that controls the color and style parameters for ListTiles.

Implementation

const ListTileTheme({
  Key? key,
  this.dense = false,
  this.shape,
  this.style = ListTileStyle.list,
  this.selectedColor,
  this.iconColor,
  this.textColor,
  this.contentPadding,
  this.tileColor,
  this.selectedTileColor,
  this.enableFeedback,
  this.horizontalTitleGap,
  this.minVerticalPadding,
  this.minLeadingWidth,
  required Widget child,
}) : super(key: key, child: child);