Closed timmaffett closed 3 months ago
@SachinGanesh can you do a little bit of testing and merge if it's ok?
I would hold off merging this because they have reverted the ViewConfiguration change currently. I will update when/if they re-merge the change into the master channel.
For anyone wanting to follow the underlying Flutter SDK changes & discussion:
OK, I think they have finalized the changes to ViewConfiguration
and I have updated the PR to reflect these changes.
@timmaffett , Thank you for your pull request. We have implemented this change for version 2.2.0. Closing in favor of e92762a71e5dcd39e0aae6bf4399b5947f09c91d
This PR makes the required API changes to the
ViewConfiguration()
constructor call inwidgetToUiImage()
.ViewConfiguration
now takesconstraints: ui.ViewConstraints(maxWidth: logicalSize.width, maxHeight: logicalSize.height),
instead ofsize: logicalSize,