ResponsiveFramework
ResponsiveFramework copied to clipboard
The responsive framework is not scaling on a particular device
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 :
UI in rest of the device like pixel2,oneplus 5t , vivo9 , pixel4 .. :
Good question! I have the OnePlus 6 device so lucky us. Can you share a complete reproduceable code sample?