ResponsiveFramework icon indicating copy to clipboard operation
ResponsiveFramework copied to clipboard

Difference between this package and flutter_screenutil?

Open alvindrakes opened this issue 3 years ago • 2 comments

Hi codelesssly, I just stumbled upon your package and I am wondering what's the difference between this package and https://pub.dev/packages/flutter_screenutil

Are there any fundamental differences in the way these 2 packages calculate the scaling?

Any explanations are appreciated. Thank you.

alvindrakes avatar Jul 14 '21 07:07 alvindrakes

Hi Alvin, the packages have fundamentally different philosophies.

The entire purpose of the ResponsiveFramework is to eliminate the need for widget level responsive development as much as possible. What that means is that you define your breakpoints in the ResponsiveFramework at the top level and then control the behavior from those breakpoints.

This approach works very well for building websites. I recommend checking out the example apps!

Also, as of v0.1.4, this is the only library that handles multiplatform landscape mode correctly.

rayliverified avatar Jul 15 '21 00:07 rayliverified

Thanks for the quick reply!

I've checked the example website and have 1 more question as I'm not a ui designer.

Do we always scale for website and resize for mobile? Is the setup in the example app the standard?

What happened if I use Scale on mobile and not resize?

Basically I'm trying to get the right ui responsive behaviour for mobile and web.

alvindrakes avatar Jul 15 '21 03:07 alvindrakes