flutter/packages/flutter_tools/templates
2021-11-18 10:03:04 -08:00
..
app Add .gitignore (#85017) 2021-07-09 10:41:03 -07:00
app_shared Win32 template: Use {{projectName}} for FileDescription instead of {{description}} (#91959) 2021-11-18 10:03:04 -08:00
cocoapods Move macOS Podfile logic into the tool (#72020) 2020-12-17 11:48:16 -08:00
module Revert "Reland: display features (#93117)" (#93204) 2021-11-06 22:46:46 -07:00
package Adjust plugins and packages .gitignore to be most useful (#88991) 2021-09-03 20:22:35 +02:00
plugin Revert "Reland: display features (#93117)" (#93204) 2021-11-06 22:46:46 -07:00
skeleton Fix typo in settings_controller.dart (#91866) 2021-10-18 15:10:33 -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.