Skip to content

[pigeon] The flutter create -p plugin command should use Pigeon #63284

Closed

Description

@acoutts

Use case

This would make it much easier to use pigeon in a new plugin.

Proposal

Enhance the flutter create command to add an option to generate the boilerplate project for a plugin which uses pigeon.

An additional flag like --pigeon would be easy for new developers to use.

Activity

  1. acoutts commented on Aug 8, 2020

    @acoutts
    Author
  2. added
    packageflutter/packages repository. See also p: labels.
    p: pigeonrelated to pigeon messaging codegen tool
    c: proposalA detailed proposal for a change to Flutter
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Aug 10, 2020
  3. jmagman commented on Aug 11, 2020

    @jmagman
    Member

    I don't think flutter create --sample services supports pubspec templates, only dart classes?

  4. gaaclarke commented on Aug 12, 2020

    @gaaclarke
    Member

    @jmagman My first thought was that the tool could support arbitrary templates that can be authored. flutter create -t ~/templates/pigeon_swift.flutter_template

  5. jmagman commented on Aug 12, 2020

    @jmagman
    Member

    See #15279

  6. added
    P3Issues that are less important to the Flutter project
    on Aug 18, 2020
  7. jmagman commented on Jan 12, 2021

    @jmagman
    Member

    See also conversations in #13611, #18819, and #14719.

  8. changed the title [-][pigeon] The flutter create command should have a flag to generate a plugin boilerplate (in Swift/Kotlin) which uses pigeon for easier setup[/-] [+][pigeon] The `flutter create -p plugin` command should use Pigeon[/+] on Sep 16, 2026
  9. stuartmorgan-g commented on Sep 16, 2026

    @stuartmorgan-g
    Contributor

    Updating to reflect the current plan, which is to simply switch the template to Pigeon rather than having a flag.

  10. added
    P1High-priority issues at the top of the work list
    and removed
    P3Issues that are less important to the Flutter project
    on Sep 16, 2026
  11. github-actions commented on Oct 7, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: proposalA detailed proposal for a change to Flutterp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.team-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