Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.stac.dev/llms.txt

Use this file to discover all available pages before exploring further.

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

Properties

PropertyTypeDescription
decorationStacDecoration?Defines the decoration to be painted behind this row. See StacDecoration.
childrenList<Map<String, dynamic>>Defines the widgets the comprise the cells in this row. Use StacTableCell to control the individual alignment of each cell in a row.

Example

StacTableRow(
  children: [
    StacTableCell(
      child: StacContainer(
        color: '#40000000',
        height: 50.0,
        child: StacCenter(child: StacText(data: 'Header 1')),
      ),
    ),
    StacTableCell(
      child: StacContainer(
        color: '#40000000',
        height: 50.0,
        child: StacCenter(child: StacText(data: 'Header 2')),
      ),
    ),
    StacTableCell(
      child: StacContainer(
        color: '#40000000',
        height: 50.0,
        child: StacCenter(child: StacText(data: 'Header 3')),
      ),
    ),
  ],
)