flutter/packages
stuartmorgan 2d623278e7
Restructure the Windows app template (#53600)
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
  any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
  into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
  should be even more generic, like a quit-when-last-window-closes
  option, but this is a short-term improvement that removes the binding
  between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
  relating to the window class registration.

Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.

Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).

Fixes #45397
2020-04-06 12:24:05 -07:00
..
_flutter_web_build_script Restructure the Windows app template (#53600) 2020-04-06 12:24:05 -07:00
flutter Added 'barrierColor' and 'useSafeArea' parameters to showDialog. (#54110) 2020-04-06 11:26:01 -07:00
flutter_driver Print frame begin time in summary (#50272) 2020-04-02 10:16:03 -07:00
flutter_goldens [versions] update EVERYTHING (#53467) 2020-03-30 14:09:38 -07:00
flutter_goldens_client Re-land Luci Support for Gold (#52760) 2020-03-18 12:56:02 -07:00
flutter_localizations Use no locale as synonym for nb (#53880) 2020-04-03 11:56:02 -07:00
flutter_test Ignore key events on edit control on web platform (#52656) (#52661) 2020-04-01 00:31:03 -07:00
flutter_tools Restructure the Windows app template (#53600) 2020-04-06 12:24:05 -07:00
flutter_web_plugins [versions] update EVERYTHING (#53467) 2020-03-30 14:09:38 -07:00
fuchsia_remote_debug_protocol Restructure the Windows app template (#53600) 2020-04-06 12:24:05 -07:00
analysis_options.yaml Revert "Roll engine to aed6b8c46b05c7cee4506a9757dd9ea1b40583c2." (#23170) 2018-10-16 12:57:07 -07:00