ResponsiveFramework
ResponsiveFramework copied to clipboard
Failure Testing on Android Emulator Fold-out
I used this code:
return ResponsiveWrapper.builder(
ClampingScrollWrapper.builder(context, Mechanism(child!)),
landscapePlatforms: [ResponsiveTargetPlatform.android, ResponsiveTargetPlatform.iOS],
minWidth: 340,
defaultScaleFactor: 1.0,
defaultScale: true,
breakpoints: const [
ResponsiveBreakpoint.resize(340, scaleFactor: 1),
ResponsiveBreakpoint.autoScale(390, scaleFactor: 1.14),
ResponsiveBreakpoint.autoScale(550, scaleFactor: 1.2), //[Working] <- Nexus 10 [Portrait] 1.40 * 90
ResponsiveBreakpoint.autoScale(610, scaleFactor: 1.6), //[Working] <- Rollable [Portrait] 2.01 * 80%
ResponsiveBreakpoint.autoScale(840, scaleFactor: 1.2), //[FAILED] <- Fold-out [Portrait]
],
);
It works on Android tablet emulator
But strangely, this doesn't work on Fold-out as seen on the attached image below! I also had changed the scaleFactor value into 0.8, 1.4 and 2.4; but all attempts don't change the size at all. It is always the same.