- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Adds support for
web: ^1.0.0
.
- Removes a few deprecated API usages.
- Updates to web code to package
web: ^0.5.0
. - Updates SDK version to Dart
^3.3.0
.
- Now supports
dart2wasm
compilation. - Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Updates README to improve example of instantiating an XFile.
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Improves documentation about ignored parameters in IO implementation.
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Reverts an accidental change in a constructor argument's nullability.
- RETRACTED
- Updates code to fix strict-cast violations.
- Updates minimum SDK version to Flutter 3.0.
- Fixes lint warnings in tests.
- Dartdoc correction for
readAsBytes
andreadAsString
.
- Fixes
lastModified
unimplemented error description.
- Removes unused Flutter dependencies.
- Improve web implementation so it can stream larger files.
- Unify XFile interface for web and mobile platforms
- The
dart:io
implementation ofsaveTo
now does a file copy for path-basedXFile
instances, rather than reading the contents into memory.
- Fix example in README
- Fix package import in README
- Remove 'Get Started' boilerplate in README
- Rehomed to
flutter/packages
repository.
- Fix nullability of
XFileBase
'spath
andname
to match the implementations to avoid potential analyzer issues.
- Migrated package to null-safety.
- breaking change According to our unit tests, the API should be backwards-compatible. Some relevant changes were made, however:
- Web:
lastModified
returns the epoch time as a default value, to maintain theFuture<DateTime>
return type (and notnull
)
- Web:
- Prepare for breaking
package:http
change.
- breaking change Make sure the
saveTo
method returns aFuture
so it can be awaited and users are sure the file has been written to disk.
- Fix outdated links across a number of markdown files (#3276)
- Update Flutter SDK constraint.
- Initial open-source release.