-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: routesNavigator, Router, and related APIs.Navigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
I have the problem that all widgets in a navigator stack are rebuilt when e.g. the MediaQuery changes (opening the keyboard).
If there are many routes in the navigator it can cause the app to start janking, even though every single build method of a single route would only take about 2-3 ms.
Wouldn't it be possible to teach the navigator to update routes with the "newest" dependencies only when a route becomes visible again?
It doesn't really make sense to rebuild the whole app on an opening keyboard when only one page is visible.
If I have overlooked something how to solve this problem I would be very grateful for suggestions.
Desno365, markuspaschi, Vardiak, JosephJasin, hatem-amer and 7 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: routesNavigator, Router, and related APIs.Navigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team