Contact List Item
The chat list items and chat lists are used in communication feeds and contact lists
Figma Link
- Web Components
- Flutter
Web component not available yet
Demo
A single row that contains avatar, title and subtitle.
Widgetbook
Inheritance
Object
> DiagnosticableTree
> Widget
> StatelessWidget
> ZetaStatelessWidget
Constructors
Constructs ZetaContactItem.
ZetaContactItem.new({Key? key, bool? rounded, required Widget title, required Widget leading, required Widget subtitle, bool enabledDivider = true, VoidCallback? onTap, bool explicitChildNodes = true})
Properties
Name | Description | Type | Features |
---|---|---|---|
enabledDivider | Whether to display a divider at the bottom. | bool | final |
explicitChildNodes | Whether to use explicit child nodes for Semantics. | bool | final |
hashCode | The hash code for this object. | int | no setter inherited |
key | Controls how one widget replaces another widget in the tree. | Key? | final inherited |
leading | Normally a ZetaAvatar. | Widget | final |
onTap | Callback to be called onTap. | VoidCallback? | final |
rounded | Sets rounded or sharp border of the containing box and the icon style. | bool? | final inherited |
runtimeType | A representation of the runtime type of the object. | Type | no setter inherited |
subtitle | Text to be displayed under title. | Widget | final |
title | The main text to be displayed on the top. | Widget | final |