-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cross_file] Move from flutter/plugins. #305
Conversation
…le platforms. (flutter#3260) * Initial version of x_file package * Renamed from x_file to cross_file * Add back x_file type to file_selector * Fix formatting issues * Update homepage and version * Added README.md * Added missing copyright * Revert "Added missing copyright" This reverts commit cf7e8d5f3810ae646669f584738502a8cc3c5ca1. * Add missing copyright Co-Authored-By: Jason Panelli <[email protected]> * Renamed class implementation back to XFile * Fix formatting issues * Rename to cross_file * Added code owners for cross_file package Co-authored-by: Jason Panelli <[email protected]>
Update Flutter SDK constraint to match templates.
The next version of package:http expects URIs. See dart-lang/http#507
Also: skip some packages from the all_plugins app so CI passes.
Without this, the dummy ("interface") XFile implementation of these properties has different nullability than the others, and the analyzer doesn't match what the runtime actually sees.
This is a link with the changes after the package was moved to the new repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Merged and published: https://pub.dev/packages/cross_file/versions/0.3.1+1 |
Don't forget to update your table in the README 😄 |
@kevmoo wow, I totally missed that one! |
cross_file
doesn't fit very well with the testing infra of flutter/plugins, since it's just a cross-platform abstraction of dart:io File, and not a proper plugin.It seems that flutter/packages might be a better home for this package, and it should have been always deployed here, but since it was forked off of a plugin, it lived until now in flutter/plugins.
This PR moves the package to flutter/packages, and only minimally changes code to comply with the slightly different analysis rules of this repo.
Pre-launch Checklist
[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy.CHANGELOG.md
to add a description of the change.///
).If you need help, consider asking for advice on the
#hackers-new
channel on Discord.