Skip to content

App Broken after upgrading to v1.1.0 #150

@ganeshprasadrao

Description

@ganeshprasadrao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions