Closed
Description
paintImage
currently hard-codes the device pixel ratio by reaching out to the window singleton:
flutter/packages/flutter/lib/src/painting/decoration_image.dart
Lines 565 to 567 in d1244b7
In a multi-viewed world, this will not work anymore because paintImage
has no idea what view the image is getting painted on. This will need to be refactored to get the devicePixelRatio passed in.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done