CellListTile constructor

const CellListTile({
  1. Key? key,
  2. ValueCell<Widget?>? leading,
  3. ValueCell<Widget?>? title,
  4. ValueCell<Widget?>? subtitle,
  5. ValueCell<Widget?>? trailing,
  6. ValueCell<bool> isThreeLine = const ValueCell.value(false),
  7. ValueCell<bool?>? dense,
  8. ValueCell<VisualDensity?>? visualDensity,
  9. ValueCell<ShapeBorder?>? shape,
  10. ValueCell<ListTileStyle?>? style,
  11. ValueCell<Color?>? selectedColor,
  12. ValueCell<Color?>? iconColor,
  13. ValueCell<Color?>? textColor,
  14. ValueCell<TextStyle?>? titleTextStyle,
  15. ValueCell<TextStyle?>? subtitleTextStyle,
  16. ValueCell<TextStyle?>? leadingAndTrailingTextStyle,
  17. ValueCell<EdgeInsetsGeometry?>? contentPadding,
  18. ValueCell<bool> enabled = const ValueCell.value(true),
  19. ValueCell<void Function()?>? onTap,
  20. ValueCell<void Function()?>? onLongPress,
  21. ValueCell<void Function(bool)?>? onFocusChange,
  22. ValueCell<MouseCursor?>? mouseCursor,
  23. ValueCell<bool> selected = const ValueCell.value(false),
  24. ValueCell<Color?>? focusColor,
  25. ValueCell<Color?>? hoverColor,
  26. ValueCell<Color?>? splashColor,
  27. ValueCell<FocusNode?>? focusNode,
  28. ValueCell<bool> autofocus = const ValueCell.value(false),
  29. ValueCell<Color?>? tileColor,
  30. ValueCell<Color?>? selectedTileColor,
  31. ValueCell<bool?>? enableFeedback,
  32. ValueCell<double?>? horizontalTitleGap,
  33. ValueCell<double?>? minVerticalPadding,
  34. ValueCell<double?>? minLeadingWidth,
  35. ValueCell<double?>? minTileHeight,
  36. ValueCell<ListTileTitleAlignment?>? titleAlignment,
})

Implementation

const CellListTile({
  super.key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.isThreeLine = const ValueCell.value(false),
  this.dense,
  this.visualDensity,
  this.shape,
  this.style,
  this.selectedColor,
  this.iconColor,
  this.textColor,
  this.titleTextStyle,
  this.subtitleTextStyle,
  this.leadingAndTrailingTextStyle,
  this.contentPadding,
  this.enabled = const ValueCell.value(true),
  this.onTap,
  this.onLongPress,
  this.onFocusChange,
  this.mouseCursor,
  this.selected = const ValueCell.value(false),
  this.focusColor,
  this.hoverColor,
  this.splashColor,
  this.focusNode,
  this.autofocus = const ValueCell.value(false),
  this.tileColor,
  this.selectedTileColor,
  this.enableFeedback,
  this.horizontalTitleGap,
  this.minVerticalPadding,
  this.minLeadingWidth,
  this.minTileHeight,
  this.titleAlignment,
});