Is there an existing issue for this?
Use case
ResizeImage should make clear in its documentation that the width represents the physical pixels and not the logical pixels
return LayoutBuilder(builder: (context, constraints) {
return Image(
image: ResizeImage(
FileImage(File(pathRefImage)),
width:
(constraints.maxWidth * MediaQuery.of(context).devicePixelRatio)
.toInt(),
));
Proposal
ResizeImage should make clear in its documentation that the width represents the physical pixels and not the logical pixels