Closed RomanSoviak closed 1 year ago
Duplicate of #469
Duplicate of #469
This is not a duplicate, in #469 updating the design size based on the condition updates the design size for the entire app. You cannot update the design size for just one screen. eg: If I add ScreenUtil.init(context, designSize: const Size(375, 812)); in the build method for one widget, rest of the widgets in the tree also get the updated design size. Need a way to define design size for only the child widget.
I had design for screens with the following resolution: 375x812. So I added:
Now we have a new designer and she makes new screens with another screen resolution:
375x667,
I want to make new screen uses new resoltion and the old ones designSize: 375x812, How can I make to do it?