Skip to content

AssetImage should load an image appropriate for the device pixel ratio #1208

@abarth

Description

@abarth

Currently, we always load the same resolution PNG regardless of the current device pixel ratio. Instead, we should use a MediaQuery to watch the device pixel ratio and then select an asset from the bundle that's appropriate to the current device pixel ratio.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions