tree: 621d53f44307df93e3f7c0af2d61c61ad8e67038 [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. widget_preview_scaffold/
  16. xcode/
  17. README.md
  18. 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.