mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## 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