Size computeTextSize(Text text) { return _cached( _textSizeCache, _measureKey(text, null), () => _measuring(text, null, (painter) => painter.size), ); }