updateBounds method
- @internal
Implementation
@internal
void updateBounds() {
_textElement = _textRenderer.format(_text);
final measurements = _textElement.metrics;
_textElement.translate(0, measurements.ascent);
size.setValues(measurements.width, measurements.height);
}