flutter/packages
Jonah Williams 07caa0fbfe
[flutter_tools] Add plumbing for widget cache (#61766)
To support #61407 , the tool needs to check if a single widget reload is feasible, and then conditionally perform a fast reassemble.

To accomplish this, the FlutterDevice class will have a WidgetCache injected. This will eventually contain the logic for parsing the invalidated dart script. Concurrent with the devFS update, the widget cache will be updated/checked if a single widget reload is feasible. If so, an expression evaluation with the target type is performed and the success is communicated through the devFS result. An integration test which demonstrates that this works is already present in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/integration.shard/hot_reload_test.dart#L86

Finally, when actually performing the reassemble the tool simply checks if this flag has been set and calls the alternative reassemble method.

Cleanups:

Remove modules, as this is unused now.
2020-07-20 14:03:44 -07:00
..
_flutter_web_build_script update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
flutter Revert "fix intrinsic height and width for widget span (#61485)" (#61876) 2020-07-20 09:54:50 -07:00
flutter_driver update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
flutter_goldens update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
flutter_goldens_client use nnbd deps (#61177) 2020-07-09 23:01:22 +02:00
flutter_localizations update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
flutter_test LiveTestWidgetsFlutterBinding support for non-touch event (#61872) 2020-07-20 17:02:59 -04:00
flutter_tools [flutter_tools] Add plumbing for widget cache (#61766) 2020-07-20 14:03:44 -07:00
flutter_web_plugins update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
fuchsia_remote_debug_protocol update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
analysis_options.yaml Revert "Roll engine to aed6b8c46b05c7cee4506a9757dd9ea1b40583c2." (#23170) 2018-10-16 12:57:07 -07:00