Skip to content

file_selector plugin #65403

@jasonpanelli

Description

@jasonpanelli

Use case

As Flutter applications grow in complexity, and become available to more open platforms (like web or desktop), they might need to access files other than images or videos both for loading, but also for saving. There is also a need for a better cross-platform file when different platforms store files differently. Users should be able to filter files and store files in a way appropriate to the platform they are working on with the right abstractions on the Flutter side.

Proposal

The new plugin will include functions that will handle load and save file dialogs in platforms that support them and allow for reading and writing to a local file system. It will achieve this with classes that can abstract a file and file type across platforms, meaning allowing for a file to be a path reference or a byte container. File type filters for file dialogs must also support different file type identifiers such as MIME types and extensions; this can be achieved with a new class for file types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilitypackageflutter/packages repository. See also p: labels.would be a good packageSeparate Flutter package should be made for this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions