Repository navigation
Ability to display loading progress of an image #32374
Copy link
Copy link
Closed
Labels
a: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagescustomer: fuchsiaframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Activity
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.a: imagesLoading, displaying, rendering imagesLoading, displaying, rendering images
on May 9, 2019 Proof of concept in #32465
imageLoadingBuilder: (BuildContext context, ImageChunkEvent event, Widget currentRawImage) { return Center( child: CircularProgressIndicator( value: event.bytesLoaded / event.totalBytes, ), ); }, ...
Reacted by kkaun and Mahesh JamdadeReacted by Mahesh Jamdade- added 10 commits that reference this issue
on May 20, 2019 This is implemented now in
v1.6.7or higher.Reacted by Mahesh Jamdade- added a commit that references this issue
on Jun 3, 2019 - added a commit that references this issue
on Jun 12, 2019 - added a commit that references this issue
on Jun 12, 2019 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 13, 2021
Metadata
Metadata
Assignees
Labels
a: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagescustomer: fuchsiaframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.

Fuchsia would like to be able to display the loading progress of an image that's loaded over the network. Below is a rough proposal of how we could accomplish that.
We'd need to change
NetworkImageto load usingSocketdirectly so that it could report the chunks as they came in, and we'd have to plumb those events throughImageStreamCompleter.Rough API proposal: