tree: 74ab35ab6eb8d305164e97b4411baad6071c00f4 [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_ffi/
  11. plugin_shared/
  12. skeleton/
  13. xcode/
  14. README.md
  15. 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.