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

no works widthLimit: ResponsiveScreen.limits['lg'], #1

Closed
zkmark opened this issue Apr 20, 2020 · 1 comment
Closed

no works widthLimit: ResponsiveScreen.limits['lg'], #1

zkmark opened this issue Apr 20, 2020 · 1 comment

Comments

@zkmark
Copy link

zkmark commented Apr 20, 2020

The example does not work with:
widthLimit: ResponsiveScreen.limits['lg'],

https://pub.dev/packages/flutter_responsive#grid-usage

widthLimit, was it changed for another property?

ResponsiveContainer(

  // Determines the container's limit size
  widthLimit: ResponsiveScreen.limits['lg'],
  margin: EdgeInsets.symmetric(horizontal: 10),
  
  children: <Widget>[
  
    ResponsiveRow(),
    ResponsiveRow(),
    ResponsiveRow(),
    
  ]
)
@rafaelsetragni
Copy link
Owner

rafaelsetragni commented Apr 20, 2020

widthLimit property works limiting the width to 90% of the size of Bootstrap Limits, in case of Container. For Rows and Columns it works in opose way.

This plugin mimics the Bootstrap web behaviour, so:

Container: Gets 90% full width, until screen ultrapasses the limit defined.
Rows and Cols: Is limited to his width fraction until gets lower than limit defined. After that, it becomes 90% full width.

I do not test this plugin for Flutter web. I will test it and reply here my results.

And, more important: You are welcome to change the code and upload it, if you want to contribute. Right now i am the only one working on the project, so the project are missing hands to be improved quickier as needed.

OBS: 90% is the same thing than 100% column width and side padding in 5%.

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

2 participants