tree: 846105f082fd37fb85066946bd567f0658276251 [path history] [tgz]
  1. app/
  2. app_integration_test/
  3. app_shared/
  4. app_test_widget/
  5. cocoapods/
  6. module/
  7. package/
  8. package_ffi/
  9. plugin/
  10. plugin_cocoapods/
  11. plugin_ffi/
  12. plugin_shared/
  13. plugin_swift_package_manager/
  14. skeleton/
  15. xcode/
  16. README.md
  17. template_manifest.json
packages/flutter_tools/templates/README.md

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.