ZetaChatItem constructor

const ZetaChatItem({
  1. Key? key,
  2. bool? rounded,
  3. bool highlighted = false,
  4. DateTime? time,
  5. DateFormat? timeFormat,
  6. required Widget title,
  7. Widget? subtitle,
  8. Widget? leading,
  9. bool enabledWarningIcon = false,
  10. bool enabledNotificationIcon = false,
  11. List<Widget> additionalIcons = const [],
  12. int? count,
  13. VoidCallback? onTap,
  14. bool? starred,
  15. List<ZetaSlidableAction> slidableActions = const [],
  16. bool explicitChildNodes = true,
  17. bool? paleButtonColors,
  18. @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onMenuMoreTap,
  19. @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onCallTap,
  20. @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onDeleteTap,
  21. @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onPttTap,
})

Creates a ZetaChatItem

Implementation

const ZetaChatItem({
  super.key,
  super.rounded,
  this.highlighted = false,
  this.time,
  this.timeFormat,
  required this.title,
  this.subtitle,
  this.leading,
  this.enabledWarningIcon = false,
  this.enabledNotificationIcon = false,
  this.additionalIcons = const [],
  this.count,
  this.onTap,
  this.starred,
  this.slidableActions = const [],
  this.explicitChildNodes = true,
  this.paleButtonColors,
  @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') this.onMenuMoreTap,
  @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') this.onCallTap,
  @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') this.onDeleteTap,
  @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') this.onPttTap,
});