tree: 7f6e85f89f39e47b35aa8026660dde3037f247ad [path history] [tgz]
  1. app/
  2. app_integration_test/
  3. app_shared/
  4. app_test_widget/
  5. cocoapods/
  6. module/
  7. package/
  8. plugin/
  9. plugin_ffi/
  10. plugin_shared/
  11. skeleton/
  12. README.md
  13. 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.