ZdsBlockTableCellData class
Defines a cell in a ZdsBlockTable
Constructors
- ZdsBlockTableCellData({String? text, Widget? child, Color? textColor, Color? backgroundColor, TextStyle? textStyle, bool? isSelected, void onTap()?})
- Creates a new ZdsBlockTableCellData
Properties
- backgroundColor → Color?
-
The background color of the cell
final
- child → Widget?
-
The child of the cell. Cannot be set if text is defined
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSelected ↔ bool?
-
If set to true, gives the cell a highlight background and border
getter/setter pair
- onTap → (void Function()?)
-
The function called when the cell is tapped
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The text displayed in the cell. Cannot be set if child is defined
final
- textColor → Color?
-
The color of the text
final
- textStyle → TextStyle?
-
The style of the text
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited