Coder Social home page Coder Social logo

Comments (5)

rayliverified avatar rayliverified commented on May 18, 2024

The ResponsiveFramework supports responsive behaviors, autoScale, resize, and autoScaleDown.

In the code below, you can see that a resize breakpoint is set at 800.

ResponsiveBreakpoint.autoScale(425, name: MOBILE),
ResponsiveBreakpoint.**resize**(800, name: TABLET),
ResponsiveBreakpoint.resize(1000, name: DESKTOP),

Resize allows Flutter to resize the layout normally. Please play around with the responsive behaviors to understand how they affect resizing.

from responsiveframework.

franarolas avatar franarolas commented on May 18, 2024

Even if I have it like that:

ResponsiveBreakpoint.resize(425, name: MOBILE),
ResponsiveBreakpoint.resize(800, name: TABLET),
ResponsiveBreakpoint.resize(1000, name: DESKTOP),

It just resizes all widgets until 800, after it, it only resizes images, font sizes(and some more)

from responsiveframework.

gcostaapps avatar gcostaapps commented on May 18, 2024

@franarolas I think you need to change the methods resize for autoscale to lock the UI and not make then wider.

from responsiveframework.

franarolas avatar franarolas commented on May 18, 2024

@franarolas I think you need to change the methods resize for autoscale to lock the UI and not make then wider.

It is the solution that I am using right now, but I don't think that is how it should work.

from responsiveframework.

rayliverified avatar rayliverified commented on May 18, 2024

Resize is the default behavior which allows Flutter to layout normally.
If you want to increase the UI layout proportionally and scale the UI, use AutoScale instead.

Closing as working as intended. Please reopen if you have additional questions.

from responsiveframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.