fix: SearchAnchor View not resizing when in nested navigator (#128357)

Similar to what was done on https://github.com/flutter/flutter/pull/127198, look for the closest navigator instead of screen size.

Fixes: https://github.com/flutter/flutter/issues/128344
https://dart.googlesource.com/external/github.com/flutter/flutter/+/39bf968168f29a0728edd45c4ab374d04ff6b353
1 file changed
tree: 3b945a6db8aef13b286447c1247b76e049379c1e
  1. commits.json