flutter/packages
Bruno Leroux d595e98d85
Fix PageController throws when changing page before viewPortDimensions are set (#153017)
## Description

This PR fixes `PageController` throwing when using `jumpToPage` or `animateToPage` to switch page before the viewport dimensions were retrieved.

Solution based on https://github.com/flutter/flutter/pull/152947#discussion_r1706203170.

## Related Issue

Fixes https://github.com/flutter/flutter/issues/86222.
Fixes https://github.com/flutter/flutter/issues/152079

## Tests

Adds 2 tests.
2024-08-07 16:45:53 +00:00
..
flutter Fix PageController throws when changing page before viewPortDimensions are set (#153017) 2024-08-07 16:45:53 +00:00
flutter_driver Fix Linux_android_emu tests late initialization errors (#152932) 2024-08-06 14:48:50 -07:00
flutter_goldens Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
flutter_localizations Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
flutter_test Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
flutter_tools Reverts "[tool] Guard process writes to frontend server in ResidentCompiler (#152358)" (#153028) 2024-08-07 16:11:26 +00:00
flutter_web_plugins Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
fuchsia_remote_debug_protocol Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
integration_test Manual dependency bump (#152881) 2024-08-06 02:40:27 +00:00
analysis_options.yaml Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00