Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Broken after upgrading to v1.1.0 #150

Open
mister-rao opened this issue Jul 28, 2023 · 2 comments
Open

App Broken after upgrading to v1.1.0 #150

mister-rao opened this issue Jul 28, 2023 · 2 comments

Comments

@mister-rao
Copy link

All screens are broken after migrating to the latest version 1.1.0
I tried to fix it temporarily by providing width ResponsiveScaledBox:

DevicePreview.appBuilder(
  context
  ResponsiveScaledBox(
    width: width * 1.15,
    child: ResponsiveBreakpoints.builder(
      child: router!,
      breakpoints: [
        const Breakpoint(start: 0, end: 450, name: MOBILE),
        const Breakpoint(
          start: 451,
          end: 800,
          name: TABLET,
        ),
        const Breakpoint(
          start: 801,
          end: 1920,
          name: DESKTOP,
        ),
        const Breakpoint(
          start: 1921,
          end: double.infinity,
          name: '4K',
        ),
      ],
    ),
  ),
)

But some screens are still scaled wrong.

This is preventing our next release, if there's no fix to this I might switch and try out ScreenuUtils.

Please update if this package is going to be maintained as everything was working fine till v0.2.0

@Ngochiendev
Copy link

i have the same problem , package doc not help

@rayliverified
Copy link
Contributor

Thank you for your patience. Migration guide is up!

https://github.com/Codelessly/ResponsiveFramework/blob/master/migration_0.2.0_to_1.0.0.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants