Skip to content

Exclude dev dependencies in showLicensePage #100746

@timovandeput

Description

@timovandeput

Use case

My current project requires an OSS license acknowledgement page, which I conveniently have Flutter generate by means of showLicensePage(context).

When inspecting the licenses, I observe the list also includes all our development dependencies.

Our legal department instructs me I should not include dependencies that are not delivered with my app, like dependencies on testing tools.

Proposal

Please provide a means to omit all "dev_dependencies", or perhaps allow for an explicit list of packages to omit. This would provide more control over the packages included in the licenses list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions