1. 14 Apr, 2022 1 commit
  2. 09 Mar, 2022 1 commit
  3. 26 Jan, 2022 1 commit
  4. 04 Jan, 2022 2 commits
    • Zachary Anderson's avatar
      Revert "FFI plugins (#94101)" (#96122) · 65c6e882
      Zachary Anderson authored
      This reverts commit 5257f029.
      65c6e882
    • Daco Harkes's avatar
      FFI plugins (#94101) · 5257f029
      Daco Harkes authored
      * Building shared C source code as part of the native build for platforms Android, iOS, Linux desktop, MacOS desktop, and Windows desktop.
      * Sample code doing a synchronous FFI call.
      * Sample code doing a long running synchronous FFI call on a helper isolate.
      * Use of `package:ffigen` to generate the bindings.
      5257f029
  5. 10 May, 2021 1 commit
  6. 30 Mar, 2021 1 commit
  7. 10 Oct, 2020 1 commit
  8. 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
  9. 31 Mar, 2020 1 commit
  10. 03 Mar, 2020 1 commit
  11. 25 Jan, 2020 1 commit
  12. 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
  13. 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
  14. 08 Jul, 2019 1 commit
  15. 05 Apr, 2019 1 commit
  16. 30 Oct, 2018 2 commits
  17. 10 Oct, 2018 1 commit
  18. 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
  19. 24 May, 2018 1 commit
  20. 20 Oct, 2017 1 commit
  21. 26 Sep, 2017 1 commit
  22. 31 Aug, 2017 1 commit
  23. 26 Jul, 2017 1 commit
  24. 08 Jun, 2017 1 commit
  25. 05 Jun, 2017 1 commit
  26. 21 Apr, 2017 1 commit
  27. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  28. 30 Mar, 2017 1 commit
    • Jakob Andersen's avatar
      Add template for plugin projects. (#9076) · f34f8a31
      Jakob Andersen authored
      Plugin projects are created by running `flutter create --plugin <name>`.
      
      An example app is also created in the plugin project, using the normal 'create' template, which has been modified to allow for conditional plugin code.
      
      Modified the android package name to match package naming conventions (all lower-case, and must match the directory name).
      f34f8a31
  29. 06 Mar, 2017 1 commit
  30. 02 Nov, 2016 1 commit
  31. 01 Nov, 2016 1 commit
  32. 24 Oct, 2016 1 commit
  33. 21 Oct, 2016 1 commit
  34. 11 Oct, 2016 1 commit
  35. 24 Aug, 2016 1 commit
    • Dan Rubel's avatar
      Test create proj content (#5546) · f6c53d58
      Dan Rubel authored
      * test flutter create project dart file is properly formatted
      
      * restore driver-test
      
      * cleanup lint warnings
      
      * address comment
      f6c53d58
  36. 19 Aug, 2016 1 commit
  37. 21 Jun, 2016 1 commit
    • Ian Hickson's avatar
      ImageIcon (#4649) · e502e9c8
      Ian Hickson authored
      Anywhere that accepted IconData now accepts either an Icon or an
      ImageIcon.
      
      Places that used to take an IconData in an `icon` argument, notably
      IconButton and DrawerItem, now take a Widget in that slot. You can wrap
      the value that used to be passed in in an Icon constructor to get the
      same result.
      
      Icon itself now takes the icon as a positional argument, for brevity.
      
      ThemeData now has an iconTheme as well as a primaryIconTheme, the same
      way it has had a textTheme and primaryTextTheme for a while.
      
      IconTheme.of() always returns a value now (though that value itself may
      have nulls in it). It defaults to the ThemeData.iconTheme.
      
      IconThemeData.fallback() is a new method that returns an icon theme data
      structure with all fields filled in.
      
      IconTheme.merge() is a new constructor that takes a context and creates
      a widget that mixes in the new values with the inherited values.
      
      Most places that introduced an IconTheme widget now use IconTheme.merge.
      
      IconThemeData.merge and IconThemeData.copyWith act in a way analogous to
      the similarly-named members of TextStyle.
      
      ImageIcon is introduced. It acts like Icon but takes an ImageProvider
      instead of an IconData.
      
      Also: Fix the analyzer to actually check the stocks app.
      e502e9c8
  38. 20 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Hide routes from the API when they're not needed. (#3431) · 1b9476c4
      Ian Hickson authored
      The 'routes' table is a point of confusion with new developers. By
      providing a 'home' argument that sets the '/' route, we can delay the
      point at which we teach developers about 'routes' until the point where
      they want to have a second route.
      1b9476c4