PageBlockTableCell class final

Represents a cell of a table

Inheritance

Constructors

PageBlockTableCell({RichText? text, required bool isHeader, required int colspan, required int rowspan, required PageBlockHorizontalAlignment align, required PageBlockVerticalAlignment valign})
Represents a cell of a table
const
PageBlockTableCell.fromJson(Map<String, dynamic> json)
Parses a PageBlockTableCell from TDLib JSON.
factory

Properties

align → PageBlockHorizontalAlignment
Horizontal cell content alignment
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
colspan → int
The number of columns the cell spans
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isHeader → bool
True, if it is a header cell
final
rowspan → int
The number of rows the cell spans
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → RichText?
Cell text; may be null. If the text is null, then the cell must be invisible
final
valign → PageBlockVerticalAlignment
Vertical cell content alignment
final

Methods

copyWith({RichText? text()?, bool? isHeader, int? colspan, int? rowspan, PageBlockHorizontalAlignment? align, PageBlockVerticalAlignment? valign}) → PageBlockTableCell
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.