ModulaListTile constructor

const ModulaListTile({
  1. required Widget title,
  2. Key? key,
  3. Widget? subtitle,
  4. Widget? leading,
  5. Widget? trailing,
  6. ModulaListTileType type = ModulaListTileType.simple,
  7. bool showDivider = false,
  8. bool isThreeLine = false,
  9. bool dense = false,
  10. bool enabled = true,
  11. bool selected = false,
  12. VoidCallback? onTap,
  13. VoidCallback? onLongPress,
  14. EdgeInsetsGeometry? contentPadding,
  15. Color? backgroundColor,
  16. Color? selectedColor,
  17. Color? hoverColor,
  18. BorderRadius? borderRadius,
})

Implementation

const ModulaListTile({
  required this.title,
  super.key,
  this.subtitle,
  this.leading,
  this.trailing,
  this.type = ModulaListTileType.simple,
  this.showDivider = false,
  this.isThreeLine = false,
  this.dense = false,
  this.enabled = true,
  this.selected = false,
  this.onTap,
  this.onLongPress,
  this.contentPadding,
  this.backgroundColor,
  this.selectedColor,
  this.hoverColor,
  this.borderRadius,
});