cross_file 0.3.1+5 cross_file: ^0.3.1+5 copied to clipboard
An abstraction to allow working with files across multiple platforms.
0.3.1+5 #
- Unify XFile interface for web and mobile platforms
0.3.1+4 #
- The
dart:io
implementation ofsaveTo
now does a file copy for path-basedXFile
instances, rather than reading the contents into memory.
0.3.1+3 #
- Fix example in README
0.3.1+2 #
- Fix package import in README
- Remove 'Get Started' boilerplate in README
0.3.1+1 #
- Rehomed to
flutter/packages
repository.
0.3.1 #
- Fix nullability of
XFileBase
'spath
andname
to match the implementations to avoid potential analyzer issues.
0.3.0 #
- 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:
0.2.1 #
- Prepare for breaking
package:http
change.
0.2.0 #
- 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.
0.1.0+1 #
- Update Flutter SDK constraint.
0.1.0 #
- Initial open-source release.