ZetaChatItem constructor
- Key? key,
- bool? rounded,
- bool highlighted = false,
- DateTime? time,
- DateFormat? timeFormat,
- required Widget title,
- Widget? subtitle,
- Widget? leading,
- bool enabledWarningIcon = false,
- bool enabledNotificationIcon = false,
- List<
Widget> additionalIcons = const [], - int? count,
- VoidCallback? onTap,
- bool? starred,
- List<
ZetaSlidableAction> slidableActions = const [], - bool explicitChildNodes = true,
- bool? paleButtonColors,
- @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onMenuMoreTap,
- @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onCallTap,
- @Deprecated('Use slidableActions instead.' ' This variable has been replaced as of 0.12.1') VoidCallback? onDeleteTap,
- @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,
});