CometChatCardTableElement class final

A table element that renders columnar data with optional striping and borders.

Inheritance

Constructors

CometChatCardTableElement({required String id, required List<String> columns, required List<List<String>> rows, bool? stripedRows, dynamic headerBackgroundColor, bool? border, double? cellPadding, double? fontSize, dynamic stripedRowColor, dynamic borderColor})
const
CometChatCardTableElement.fromJson(Map<String, dynamic> json)
factory

Properties

border → bool?
Whether to draw borders around cells.
final
borderColor → dynamic
Border color of the table.
final
cellPadding → double?
Padding inside each cell in logical pixels.
final
columns → List<String>
Column header labels.
final
fontSize → double?
Font size of the cell text.
final
hashCode → int
The hash code for this object.
no setterinherited
headerBackgroundColor → dynamic
Background color of the header row.
final
id → String
Unique identifier for this element within the card.
finalinherited
rows → List<List<String>>
Row data, each an ordered list of cell strings matching columns.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stripedRowColor → dynamic
Shade color applied to striped rows.
final
stripedRows → bool?
Whether alternate rows are shaded for readability.
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