Skip to main content

Table Column Width

StacTableColumnWidth allows you to build the Flutter TableColumnWidth class using JSON. To know more about the TableColumnWidth class in Flutter, refer to the official documentation.

Properties​

PropertyTypeDescription
typeStacTableColumnWidth?Defines the type of columnWidth to be used. Can be fixedColumnWidth, flexColumnWidth, fractionColumnWidth & intrinsicColumnWidth
valuedouble?Defines the value to be assigned to columnWidth. e.g. 5.0 would be 5px in case of fixedColumnWidth

Example​

{
"type": "fixedColumnWidth",
"value": 200.0
}