ResponsiveFramework icon indicating copy to clipboard operation
ResponsiveFramework copied to clipboard

The responsive framework is not scaling on a particular device

Open naveenbharadwaj19 opened this issue 3 years ago • 1 comments

builder : (context, widget) => ResponsiveWrapper.builder(
          // ? warp all the heights and widths according to screen automatically
          widget,
          defaultScale: true,
          breakpoints: [
            ResponsiveBreakpoint.autoScale(420, name: MOBILE), //  breakpoint is set based on pixel 2 dpi
          ],
          backgroundColor: Theme.of(context).primaryColor,
        ),
// nested widgets ....

flutter mode : release

autoscale should render the same UI on all the devices right ? but why oneplus 6 differs from other devices am i doing anything wrong ?

Images :

UI in oneplus 6 : 1+6 (2) 1+6 (3) 1+6

UI in rest of the device like pixel2,oneplus 5t , vivo9 , pixel4 .. : 1+5t (2) 1+5t (3) 1+5t

naveenbharadwaj19 avatar Apr 22 '21 09:04 naveenbharadwaj19

Good question! I have the OnePlus 6 device so lucky us. Can you share a complete reproduceable code sample?

rayliverified avatar Jul 28 '21 02:07 rayliverified