Skip to content

Flutter Web should not hard-code devicePixelRatio to 1.0 #41328

@harryterkelsen

Description

@harryterkelsen

Since we hard-code devicePixelRatio to 1.0, this prevents us from loading higher-resolution images. This can cause images to look pixelated on higher-resolution devices.

@ferhatb @yjbanov do you remember why we hard-coded it to 1.0?

Metadata

Metadata

Assignees

Labels

a: imagesLoading, displaying, rendering imagesc: renderingUI glitches reported at the engine/skia or impeller rendering levelplatform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions