CometChatCardTabsElement class final

A tabbed container that displays one tab's content at a time.

Inheritance

Constructors

CometChatCardTabsElement({required String id, required List<CometChatCardTab> tabs, int? defaultActiveTab, String? tabAlign, dynamic tabPadding, dynamic contentPadding, double? fontSize})
const
CometChatCardTabsElement.fromJson(Map<String, dynamic> json)
factory

Properties

contentPadding → dynamic
Padding around the active tab's content.
final
defaultActiveTab int?
Index of the tab shown initially.
final
fontSize double?
Font size of the tab labels.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this element within the card.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabAlign String?
Alignment of the tab bar (e.g. start, center).
final
tabPadding → dynamic
Padding around each tab label.
final
tabs List<CometChatCardTab>
The tabs to display.
final
type String
The element type discriminator (e.g. text, image, row).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited