Skip to content

fix: flutter_plugin template generates all platforms no matter the platform flag used #424

@wolfenrain

Description

@wolfenrain

Description

As a developer I can create a flutter_plugin template using the CLI and pass which platforms I dont want using the --<platform_name> false option. This works as expected but the example generated for the plugin will still contain all platforms.

Steps To Reproduce

  1. Run very_good create my_plugin -t flutter_plugin --ios false
  2. Check the my_plugin/my_plugin/example directory, it will contain an iOS dir.

Expected Behavior

That the generated example only has the platforms that I require for my plugin.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions