-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
currently image, even if it's drawn from byte data, will have a quite noticable time to be processed before
i propose that there were a way to prepare any kind of image (memory, asset, network, file, or from ImageProvider) to be drawn
reproducible sample https://github.com/nt4f04unds-archive/issues/tree/flutter_75750
use case
there might be cases when someone would like to do such thing
as possible example (i know it's weird way to handle things as it's not effective, but still) - we call takePicture() in camera plugin and we don't want a black frame to appear whilst the image is processing after Image.memory is constructed, instead we would like to somehow prepare the image to be painted and only then show it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team