Closed benjaminhorner closed 1 week ago
I was facing the same issue, but after reading the code, I realized that you need to wrap MaterialApp
with a ResponsiveSizer
instead of Sizer
. After doing that my app works fine.
I suspect that the documentation hasn't been updated yet.
I was facing the same issue, but after reading the code, I realized that you need to wrap
MaterialApp
with aResponsiveSizer
instead ofSizer
. After doing that my app works fine.I suspect that the documentation hasn't been updated yet.
Yeah. I did try that after reading the code but once that is done, all .w .sp etc do NOT work anymore and I am left with the ResponsoveSizer package features. If you compare V2 to V3, you will notice there are LOTS of changes.
facing same issue
We are encountering the same issue when manually updating the Sizer to ResponsiveSizer, which causes the entire screen layout to break. Do you have any suggestions for resolving this?
Facing the same issue. My whole Layout is broken.
Our layout is broken as well, .sp and .h values (probably others as well) are calculated much smaller then they are suppose to be. Please keep the calculations same as before. Thanks.
Change ResponsiveSizer to Sizer in Version 3.0.4
Install version 2. Upgrade to version 3+
The package breaks and the Sizer widget is gone. The content of the widget.dart file is identical to that of the Responsive Sizer package.
https://github.com/CoderUni/responsive_sizer/blob/main/lib/src/widget.dart https://github.com/TechnoPrashant/Sizer/blob/master/lib/widget.dart