Add to TableCell docs (#138258)

Fixes https://github.com/flutter/flutter/issues/42523
Came across a trivial doc issue - now it will be fixed. 😁
This commit is contained in:
Kate Lovett
2023-11-14 17:20:33 -06:00
committed by GitHub
parent ec16ef78d0
commit 98827bb569

View File

@@ -397,6 +397,9 @@ class _TableElement extends RenderObjectElement {
/// the [TableCell] widget to its enclosing [Table] must contain only
/// [TableRow]s, [StatelessWidget]s, or [StatefulWidget]s (not
/// other kinds of widgets, like [RenderObjectWidget]s).
///
/// To create an empty [TableCell], provide a [SizedBox.shrink]
/// as the [child].
class TableCell extends ParentDataWidget<TableCellParentData> {
/// Creates a widget that controls how a child of a [Table] is aligned.
const TableCell({