From 98827bb569ab9ace38615cf32b3b6775ea1ffc48 Mon Sep 17 00:00:00 2001 From: Kate Lovett Date: Tue, 14 Nov 2023 17:20:33 -0600 Subject: [PATCH] Add to TableCell docs (#138258) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://github.com/flutter/flutter/issues/42523 Came across a trivial doc issue - now it will be fixed. 😁 --- packages/flutter/lib/src/widgets/table.dart | 3 +++ 1 file changed, 3 insertions(+) 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({