StacTable(
columnWidths: {
1: StacFixedColumnWidth(value: 200),
},
defaultColumnWidth: StacFlexColumnWidth(value: 1),
textDirection: StacTextDirection.ltr,
defaultVerticalAlignment: StacTableCellVerticalAlignment.bottom,
border: StacTableBorder(
color: '#428AF5',
width: 1.0,
style: StacBorderStyle.solid,
borderRadius: StacBorderRadius.all(16.0),
),
children: [
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')),
),
),
],
),
StacTableRow(
children: [
StacTableCell(
child: StacSizedBox(
height: 50.0,
child: StacCenter(child: StacText(data: 'Row 1, Cell 1')),
),
),
StacTableCell(
child: StacSizedBox(
height: 50.0,
child: StacCenter(child: StacText(data: 'Row 1, Cell 2')),
),
),
StacTableCell(
child: StacSizedBox(
height: 50.0,
child: StacCenter(child: StacText(data: 'Row 1, Cell 3')),
),
),
],
),
],
)