You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After version 5.0.8, packages using package:file in conjunction with a StreamConsumer<List<int>> will break in recent versions, because you can no longer pipe Stream<Uint8List> to a StreamConsumer<List<int>>. (dart-lang/sdk#37179)
I'm more than willing to send a PR for this, but I think the File interface should include overrides that indicate that calls to openRead, etc. return Uint8List.
It was pretty hard to track this down, but it turned out to be a pretty breaking change in my experience.
Again, willing to send in a PR.
The text was updated successfully, but these errors were encountered:
After version
5.0.8
, packages usingpackage:file
in conjunction with aStreamConsumer<List<int>>
will break in recent versions, because you can no longer pipeStream<Uint8List>
to aStreamConsumer<List<int>>
. (dart-lang/sdk#37179)I'm more than willing to send a PR for this, but I think the
File
interface should include overrides that indicate that calls toopenRead
, etc. returnUint8List
.It was pretty hard to track this down, but it turned out to be a pretty breaking change in my experience.
Again, willing to send in a PR.
The text was updated successfully, but these errors were encountered: