flutter/packages/flutter_tools/templates
Pierrick Bouvier 792e26df95
[Windows] Add target architecture to build path (#131843)
To implement windows-arm64 support, it is needed to add architecture as a subdirectory (https://github.com/flutter/flutter/issues/129805).

In short, when performing a flutter windows build, we have:
- Before: build/windows/runner/Release/gallery.exe
- After: build/windows/x64/runner/Release/gallery.exe

This convention follows what flutter linux build does.

Addresses: https://github.com/flutter/flutter/issues/129805
Addresses: https://github.com/flutter/flutter/issues/116196

Design doc: [flutter.dev/go/windows-arm64](https://flutter.dev/go/windows-arm64)
2023-08-31 09:09:02 -07:00
..
app Fix template app documentation (#131125) 2023-07-27 22:42:16 +00:00
app_integration_test/integration_test Add an integration test to plugin template example (#117062) 2022-12-15 19:49:14 +00:00
app_shared [Windows] Add target architecture to build path (#131843) 2023-08-31 09:09:02 -07:00
app_test_widget/test [flutter_tools] Use proper project name in templates (#96373) 2022-02-02 06:50:14 -08:00
cocoapods Add native unit tests to iOS and macOS templates (#117147) 2022-12-21 19:10:22 +00:00
module Bump gradle heap size limits in templates (#133671) 2023-08-30 15:40:14 +00:00
package No longer include .packages in created .gitignore files (#133484) 2023-08-30 00:40:01 +00:00
plugin Remove @NonNull to avoid warning (#129472) 2023-06-29 21:34:31 +00:00
plugin_ffi Use Flutter app project's NDK version from FFI plugin (#131141) 2023-07-31 10:09:24 +00:00
plugin_shared No longer include .packages in created .gitignore files (#133484) 2023-08-30 00:40:01 +00:00
skeleton [flutter_tools] modify Skeleton template to use ListenableBuilder instead of AnimatedBuilder (#128810) 2023-07-06 15:14:51 +00:00
xcode/ios/custom_application_bundle New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
README.md FFI plugins (#96225) 2022-01-26 23:44:45 +01:00
template_manifest.json New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00

This directory contains templates for flutter create.

The *_shared subdirectories provide files for multiple templates.

  • app_shared for app and skeleton.
  • plugin_shared for (method channel) plugin and plugin_ffi.

For example, there are two app templates: app (the counter app) and skeleton (the more advanced list view/detail view app).

  ┌────────────┐
  │ app_shared │
  └──┬──────┬──┘
     │      │
     │      │
     ▼      ▼
┌─────┐    ┌──────────┐
│ app │    │ skeleton │
└─────┘    └──────────┘

Thanks to app_shared, the templates for app and skeleton can contain only the files that are specific to them alone, and the rest is automatically kept in sync.