NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #957 most downloaded on pub.dev
An abstraction to allow working with files across multiple platforms.
Last release 13 days ago
24 Sep 2026
Release timing varies
gaps range from 8 days to 1.2 years
Nearly every release is documented
notes for 28 of 28 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
30 releases · first in 2020
One column per quarter.
[cross_file] Updates cross_file to a package separated federated plug…
[cross_file] Updates cross_file to a package separated federated plug…
cross_file to a package-separated federated plugin.XDirectory to access resource containers.FileSystemXFile and FileSystemXDirectory.ScopedStorageXFile
and ScopedStorageXDirectory.XFile(String path) with XFile.fileSystem({required String path}) or
FileSystemXFile(String path).XFile.fromData. XFiles can no longer be instantiated with a Uint8List. The web
implementation can use WebScopedStorageXFileCreationParams.fromBlob to instantiate one with a
Blob/File. See README to see how to access platform-specific features.XFile.saveTo(). FileSystemXFile.writeAsBytes has been added and the web
implementation can use WebScopedStorageXFileExtension.download. See README to see how to
access platform-specific features.XFile.mimeType.XFile.path. This has been replaced by XFile.uri or FileSystemXFile.path.XFile.name to a method that returns Future<String> rather than a field that returns
String.Fixes a bug where the bytes of an XFile, that is created using the XFile.fromData constructor, are ignored on web.
XFile.fromData constructor, are ignored on web.Replaces README mentions of dart:html with package:web.
dart:html with package:web.Separates "Save As" implementation details from XFile web class.
Clarifies native XFile.mimeType documentation.
Adds a runnable main entry point and an additional XFile.fromData demonstration to the example.
main entry point and an additional XFile.fromData
demonstration to the example.[cross_file] fixed readAsString decoding in-memory bytes as UTF-16 …
[cross_file] fixed readAsString decoding in-memory bytes as UTF-16 …
readAsString returning mojibake for XFile.fromData, which
decoded the bytes as UTF-16 code units instead of using the encoding
argument.Updates to web code to package web: ^0.5.0.
web: ^0.5.0.^3.3.0.Removes a few deprecated API usages.
* Adds support for web: ^1.0.0.
web: ^1.0.0.Removes unused Flutter dependencies.
Fixes lastModified unimplemented error description.
lastModified unimplemented error description.Dartdoc correction for readAsBytes and readAsString.
readAsBytes and readAsString.Updates code to fix strict-cast violations.
Reverts an accidental change in a constructor argument's nullability.
Adds pub topics to package metadata.
Improves documentation about ignored parameters in IO implementation.
Updates README to improve example of instantiating an XFile.
Now supports dart2wasm compilation.
dart2wasm compilation.Improve web implementation so it can stream larger files.
Fix nullability of XFileBase's path and name to match the implementations to avoid potential analyzer issues.
XFileBase's path and name to match the
implementations to avoid potential analyzer issues.Rehomed to flutter/packages repository.
flutter/packages repository.* Fix example in README
The dart:io implementation of saveTo now does a file copy for path-based XFile instances, rather than reading the contents into memory.
dart:io implementation of saveTo now does a file copy for path-based
XFile instances, rather than reading the contents into memory.Unify XFile interface for web and mobile platforms
breaking change According to our unit tests, the API should be backwards-compatible. Some relevant changes were made, however:
lastModified returns the epoch time as a default value, to maintain the Future<DateTime> return type (and not null)Nothing published for this version
Prepare for breaking package:http change.
package:http change.breaking change Make sure the saveTo method returns a Future so it can be awaited and users are sure the file has been written to disk.
saveTo method returns a Future so it can be awaited and users are sure the file has been written to disk.* Initial open-source release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →