Steps to Reproduce
When I use AutoSizeText under the datatable as in the code I left below, I get an error.
The following assertion was thrown during performLayout():
LayoutBuilder does not support returning intrinsic dimensions.
Calculating the intrinsic dimensions would require running the layout callback speculatively, which might mutate the live render object tree.
The relevant error-causing widget was:
Table Table:file:///C:/Users/Thinkpad/Desktop/project/.fvm/flutter_sdk/packages/flutter/lib/src/material/data_table.dart:1044:16
When the exception was thrown, this was the stack:
Steps to Reproduce When I use AutoSizeText under the datatable as in the code I left below, I get an error.
The following assertion was thrown during performLayout(): LayoutBuilder does not support returning intrinsic dimensions.
Calculating the intrinsic dimensions would require running the layout callback speculatively, which might mutate the live render object tree.
The relevant error-causing widget was: Table Table:file:///C:/Users/Thinkpad/Desktop/project/.fvm/flutter_sdk/packages/flutter/lib/src/material/data_table.dart:1044:16 When the exception was thrown, this was the stack:
0 _RenderLayoutBuilder._debugThrowIfNotCheckingIntrinsics. (package:flutter/src/widgets/layout_builder.dart:348:9)
1 _RenderLayoutBuilder._debugThrowIfNotCheckingIntrinsics (package:flutter/src/widgets/layout_builder.dart:355:6)
2 _RenderLayoutBuilder.computeMaxIntrinsicWidth (package:flutter/src/widgets/layout_builder.dart:288:12)
3 RenderBox._computeIntrinsicDimension. (package:flutter/src/rendering/box.dart:1416:23)
4 _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:527:23)
5 RenderBox._computeIntrinsicDimension (package:flutter/src/rendering/box.dart:1414:57)
6 RenderBox.getMaxIntrinsicWidth (package:flutter/src/rendering/box.dart:1616:12)
7 RenderFlex.computeMaxIntrinsicWidth. (package:flutter/src/rendering/flex.dart:618:60)
Code sample
Version