Description
ScrollPhysics
currently has hard-coded single view assumptions in two places, see the WidgetsBinding.instance.window
in the snippet below:
flutter/packages/flutter/lib/src/widgets/scroll_physics.dart
Lines 386 to 391 in d1244b7
flutter/packages/flutter/lib/src/widgets/scroll_physics.dart
Lines 249 to 258 in d1244b7
In a multi-viewed world, this will not work anymore because the ScrollPhysics
have no idea what view/window the scrollable they control is in. We need to refactor this, i.e. either the ScrollPhysics somehow need to look up the current view via View.of(context)
or the relevant information need to be passed in.
Metadata
Metadata
Assignees
Type
Projects
Status