diff --git a/packages/flutter/lib/src/widgets/table.dart b/packages/flutter/lib/src/widgets/table.dart index 316a118efb..11671edfa3 100644 --- a/packages/flutter/lib/src/widgets/table.dart +++ b/packages/flutter/lib/src/widgets/table.dart @@ -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 { /// Creates a widget that controls how a child of a [Table] is aligned. const TableCell({