Closed KKimj closed 1 year ago
@KKimj Have you found a solution for this? I'm having a similar issue on mac.
@FilledStacks is there a fix on the way for this?
I have found the issue.
https://github.com/FilledStacks/responsive_builder/blame/master/lib/src/widget_builders.dart#L35 this line has a function with a default parameter that is set to kIsWeb. So the behaviour only works for web. Unfortunately from the ResponsiveBuilder does now have any way of passing on an override to the underlying function within getRefinedSize. It is also worth noting that the getDeviceType method does not take the override variable isWebOrDesktop but uses the same internal logic that impacts the logic too.
I will have a look and raise a PR
@disparta @KKimj I have fixed this in the PR mentioned above (details are in the MR for how to use) to use the fork I the meantime
responsive_builder:
git:
url: git://github.com/georgeherby/responsive_builder.git
ref: master
Any news on this issue?
I have not looked at this. I'm adding it too my list to fix up. Will report back soon.
Hello, Thanks your effort for this awesome package! It works perfectly on the web. thanks! I found an unintentional behavior on Windows, When I adjusted the height instead of the width. Please check
Normal screen1 ( mobile size )
Unintentional screen2 ( just adjust height of screen1 )
Thanks!!