'Flutter Web Desktop view for mobile devices | Flutter Web
I'am developing a website using Flutter. It runs fine in desktop but when i open that website in mobile browser it is zoomed too much and contents are not showing properly. But in mobile browser when i switch its view to desktop it shows correctly. So i want to make my website to show as desktop view in mobile phone browser as default. Is there any solution to view my webpage as desktop view as default in mobile browsers.
Solution 1:[1]
try using a library like responsive framework: https://pub.dev/packages/responsive_framework
it worked for me:
ResponsiveWrapper.builder(
AppFrame(child: child!),
defaultScale: isDisplayScaled(context),
)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Umesh Dhurvas |
