flutter/packages/flutter_tools/templates
2022-05-02 10:44:12 -07:00
..
app [flutter_tools] remove UWP tooling (#102174) 2022-04-26 11:19:07 -07:00
app_shared [flutter_tools] remove UWP tooling (#102174) 2022-04-26 11:19:07 -07:00
app_test_widget/test [flutter_tools] Use proper project name in templates (#96373) 2022-02-02 06:50:14 -08:00
cocoapods Set template and migrate apps to iOS 11 minimum (#101963) 2022-04-15 11:34:08 -07:00
module Embed Flutter and App frameworks for add-to-app on iOS (#102538) 2022-05-02 10:44:12 -07:00
package Remove trailing spaces in repo (#101191) 2022-04-15 14:06:30 +02:00
plugin Remove trailing spaces in repo (#101191) 2022-04-15 14:06:30 +02:00
plugin_ffi Remove trailing spaces in repo (#101191) 2022-04-15 14:06:30 +02:00
plugin_shared Remove the end period of a URL in project template (#99816) 2022-03-25 16:15:13 -07:00
skeleton Use super parameters in templates (#101157) 2022-04-14 13:26:38 -07:00
README.md FFI plugins (#96225) 2022-01-26 23:44:45 +01:00
template_manifest.json Embed Flutter and App frameworks for add-to-app on iOS (#102538) 2022-05-02 10:44:12 -07:00

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.