@@ -175,23 +175,24 @@ class _TDCellState extends State<TDCell> {
175175 crossAxisAlignment: crossAxisAlignment,
176176 children: [
177177 ..._buildImage (),
178- Expanded (
179- child: Row (
180- crossAxisAlignment: CrossAxisAlignment .start,
181- children: [
182- if (widget.leftIcon != null ||
183- widget.leftIconWidget != null ) ...[
184- widget.leftIconWidget ??
185- Icon (widget.leftIcon,
186- size: 24 , color: style.leftIconColor),
187- SizedBox (width: theme.spacer12),
188- ],
189- Expanded (
190- child: Column (
191- crossAxisAlignment: CrossAxisAlignment .start,
192- // spacing: theme.spacer4,
193- children: [
194- Row (
178+ Row (
179+ mainAxisSize: MainAxisSize .min,
180+ crossAxisAlignment: crossAxisAlignment,
181+ children: [
182+ if (widget.leftIcon != null ||
183+ widget.leftIconWidget != null ) ...[
184+ widget.leftIconWidget ??
185+ Icon (widget.leftIcon,
186+ size: 24 , color: style.leftIconColor),
187+ SizedBox (width: theme.spacer12),
188+ ],
189+ Column (
190+ crossAxisAlignment: CrossAxisAlignment .start,
191+ // spacing: theme.spacer4,
192+ children: [
193+ IntrinsicWidth (
194+ child: Container (
195+ child: Row (
195196 children: [
196197 if (widget.titleWidget != null )
197198 Flexible (child: widget.titleWidget! )
0 commit comments