ScreenType.desktop Issue
nikirana22 opened this issue · comments
I want to make different UI on the bases of Screen in the current case I'm running my app on Web and I'm doing this with the help of Device.screenType but in current case i'm getting SceenType.mobile because of the logic that you wrote in if check in setScreenSize method in helper.dart class. Please correct me if i'm wrong
Does Device.deviceType solve your issue? It seems to be missing in the docs. I'll update the docs soon to include Device.deviceType
. Thanks.
I know about Device.deviceType but i don't want to make the UI different on the Bases of platform but on the bases of Device size.
Have you tried setting the maxMobileWidth
and maxTabletWidth
? The docs can be found here
Closing inactive issue