1. 10 May, 2021 1 commit
  2. 30 Mar, 2021 1 commit
  3. 10 Oct, 2020 1 commit
  4. 23 Sep, 2020 1 commit
    • Greg Spencer's avatar
      Change the default visual density to be adaptive based on platform. (#66370) · bbd7b976
      Greg Spencer authored
      Based on feedback from various desktop developers, and to be consistent between the defaults and the sample code, this PR switches the default for visual density in desktop themes to be compact instead of standard.
      
      It also removes the same setting from the sample code generated by "flutter create" because it is no longer needed now that it is the default.
      bbd7b976
  5. 31 Mar, 2020 1 commit
  6. 03 Mar, 2020 1 commit
  7. 25 Jan, 2020 1 commit
  8. 27 Nov, 2019 1 commit
    • Greg Spencer's avatar
      Add macOS to TargetPlatform (#43457) · 245d1b51
      Greg Spencer authored
      This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired.
      
      I haven't updated the tests here, that will come in a follow-up PR.
      245d1b51
  9. 20 Sep, 2019 1 commit
    • stuartmorgan's avatar
      Support create for macOS (app and plugin) (#40851) · 0412977e
      stuartmorgan authored
      Adds macOS support for `flutter create`:
      - Currently it is behind a hidden flag.
      - Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
      - Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.
      
      This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).
      
      Fixes #30703 
      0412977e
  10. 08 Jul, 2019 1 commit
  11. 05 Apr, 2019 1 commit
  12. 30 Oct, 2018 2 commits
  13. 10 Oct, 2018 1 commit
  14. 04 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Rename module --> application in flutter create command. (#22565) · 9f23866a
      Greg Spencer authored
      This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
      
      flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
      
      I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
      
      Fixes #22530
      Fixes #22344
      9f23866a