performLayout method
Called to perform the actual layout computation for this render object.
Implementation
@override
void performLayout(Constraints constraints) {
if (!identical(_items, _cachedItemsIdentity)) {
_cachedMaxItemWidth = _computeMaxItemWidth();
_cachedItemsIdentity = _items;
}
size = Size(_cachedMaxItemWidth + 2, _items.length);
}