Returns the minimum width that this grid could be without failing to paint its contents within itself.
Override this to provide a more efficient or more correct solution. The default implementation actually instantiates a grid specification and measures the grid at the given height and child count.
For more details on implementing this method, see RenderBox.computeMinIntrinsicWidth.
Source
double getMinIntrinsicWidth(double height, int childCount) {
final double width = _getGridSize(new BoxConstraints.tightForFinite(height: height), childCount).width;
if (width.isFinite)
return width;
return 0.0;
}