Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[cross_file] Remove unused Flutter dependencies.  #102934

@tomassasovsky

Description

@tomassasovsky

Use case

At work, we have a Flutter package that wraps around all endpoints we have in our backend. This is because we have 2 apps sharing the same API, so it gets imported into both of them.

The issue is that we're using the pkg:tus_client for file uploads, and since it has cross_file as a dependency, it needs the flutter SDK as a dependency also, which there really is no need for.

Proposal

My goal with this is to make the pkg:cross_file, pkg:tus_client, and our API Client one, Dart ones so that they can be imported without the need for the Flutter SDK.

I've already opened a PR that fixes this: flutter/packages#1664

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to Flutterp: cross_fileThe cross_file pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions