Bruno Leroux 7cd821c210
Fix computeDistanceToActualBaseline throws when accessing child size (#176906)
## Description

This PR fixes an assertion triggered when accessing `RenderBox.size`
during baseline computation.
See
https://github.com/flutter/flutter/issues/157915#issuecomment-3387808748
for context.

## Related Issue

Fixes [Layout with ListTile -> subtitle -> InputDecorator -> Container
(without child) throws RenderBox.size accessed beyond the scope of
resize](https://github.com/flutter/flutter/issues/157915)
Fixes [DropdownButtonFormField triggers assertion when nested in
InputDecorator](https://github.com/flutter/flutter/issues/176696#top)

## Tests

- Adds 1 test
2025-10-14 16:50:41 +00:00
..
2025-06-24 00:10:55 +00:00
2024-12-19 20:06:21 +00:00