Codelessly / ResponsiveFramework

Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/
https://codelessly.com
MIT License
1.25k stars 150 forks source link

App Broken after upgrading to v1.1.0 #150

Open mister-rao opened 1 year ago

mister-rao commented 1 year ago

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 commented 1 year ago

i have the same problem , package doc not help

rayliverified commented 12 months ago

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