Skip to main content

TableCell

StacTableCell allows you to define the Flutter TableCell widget using JSON. To know more about the TableCell widget in Flutter, refer to the official documentation.

Properties​

PropertyTypeDescription
verticalAlignmentTableCellVerticalAlignment?Defines the verticalAlignment for the table cell. Can be top, middle, bottom, baseline, fill & intrinsicHeight Defaults to top.
childMap<String, dynamic>The child widget of the table cell.

Example​

{
"type": "tableCell",
"verticalAlignment": "top",
"child": {
"type": "container",
"color": "#40000000",
"height": 50.0,
"child": {
"type": "center",
"child": {
"type": "text",
"data": "Header 1"
}
}
}
},