-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Since flutter/engine#29281 during keyboard opening animation the root MediaQuery will be updated with each frame. There are a lot of widgets which might call MediaQuery.of(context) but not all depend on all of the MediaQuery properties. It would be more efficient to only rebuild those widgets which depend on the change in screen dimensions, but not the widgets which depend on the text scale factor, which presumably isn't changing with each frame.
b3nni97, jonahwilliams, whiskeyPeak, Vardiak, Nidal-Bakir and 3 moresullenel
Metadata
Metadata
Assignees
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.