1. 30 Jun, 2022 1 commit
  2. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2
  3. 07 Jun, 2021 1 commit
  4. 28 Sep, 2020 1 commit
  5. 17 Sep, 2020 1 commit
  6. 10 Sep, 2020 1 commit
  7. 31 Aug, 2020 1 commit
  8. 21 Aug, 2020 1 commit
  9. 13 Aug, 2020 1 commit
  10. 06 Apr, 2020 1 commit
    • stuartmorgan's avatar
      Restructure the Windows app template (#53600) · 2d623278
      stuartmorgan authored
      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
      2d623278