flutter/packages/flutter_tools/templates
2021-10-01 17:18:05 -07:00
..
app Add .gitignore (#85017) 2021-07-09 10:41:03 -07:00
app_shared Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
cocoapods Move macOS Podfile logic into the tool (#72020) 2020-12-17 11:48:16 -08:00
module Update flutter create templates for Xcode 13 (#88074) 2021-08-12 11:37:04 -07:00
package Adjust plugins and packages .gitignore to be most useful (#88991) 2021-09-03 20:22:35 +02:00
plugin Set plugin template minimum Flutter SDK to 2.5 (#89695) 2021-09-09 20:42:03 -07:00
skeleton Fix an unnecessary_import analyzer error in the skeleton app template (#90417) 2021-09-20 15:18:37 -07:00
README.md Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
template_manifest.json Use {{projectName}} as BINARY_NAME and CMake project name in UWP template (#87859) 2021-08-26 17:11:05 -07:00

This directory contains templates for flutter create.

The app_shared subdirectory is special. It provides files for all app templates (as opposed to plugin or module templates). As of May 2021, 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.