Skip to content

Allow creating "darwin" (shared codebase for ios/macos) plugins directly in flutter create #161019

@mgenware

Description

@mgenware

Use case

Right now when you create darwin plugin, you have to start with an ios or macos template. Then follow the docs. There are clearly some differences between macos and ios templates. Which one is preferred to start with? Why not just add a darwin platform?

Proposal

Simply make 'darwin' a valid platform option and create a darwin project directly from CLI.

flutter create --template=plugin --platforms="darwin" my_plugin

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesc: proposalA detailed proposal for a change to Flutterplatform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyr: fixedIssue is closed as already fixed in a newer versionteam-ecosystemOwned by Ecosystem teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-ecosystemTriaged by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions