如何垂直拉伸TableRow,以便下图中的第二个孩子占据整个高度?
这是到目前为止的代码:
Table(
border: TableBorder.all(color: Colors.orange),
defaultVerticalAlignment: TableCellVerticalAlignment.middle,
children: [
TableRow(
children: [
Text('Product' * 10),
Table(
border: TableBorder(
verticalInside: BorderSide(color: Colors.orange),
horizontalInside: BorderSide(color: Colors.orange)),
children: <TableRow>[
TableRow(
children: [
Text(
'Max',
textAlign: TextAlign.center,
),
Text(
'Min',
textAlign: TextAlign.center,
),
],
),
TableRow(
children: [
Text(
'100',
textAlign: TextAlign.center,
),
Text(
'20',
textAlign: TextAlign.center,
),
],
)
],
),
],
),
],
),