Skip to content

Add an example/ to the package template #133874

Closed

Description

@dcharkes

We don't make example/ for the package template.

One thing to clean up in create.dart is to disconnect the generateApp platforms from _generatePackage. Currently, they are the same leading to the os-directories not being created in the example/ folder, and thus the example not being able to run.

(We ran into this in #130494, after that PR is merged also _generatePackageFfi would benefit from not having the same platforms as the example folder.)

Activity

  1. added
    c: tech-debt
    on Sep 1, 2023
  2. changed the title [-]Add an `example/` to the `package/` template[/-] [+]Add an `example/` to the `package` template[/+] on Sep 1, 2023
  3. added
    tool
    team-tool
    on Sep 5, 2023
  4. added
    P2
    triaged-tool
    on Sep 5, 2023
  5. added
    tool-still-valid
    on Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2c: tech-debtteam-tooltooltool-still-validtriaged-tool

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions