-
Notifications
You must be signed in to change notification settings - Fork 40
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
How would you setup defaults? #1
Comments
First of all I'm wondering if you are using storageDelegate. |
Hi, I'm part of the team of the previous comment, Yes, we are using storageDelegate, Yes, we are specifying the location while constructing. We have five widgets per row, 12 widgets in total, one widget is sized as 3x5 and goes after the first 5 widgets, but, each time the page or a widget changes its size, everything relocates without control and the big widget keeps being relocated at the middle.. beyond that, the code is almost identical to the example in your repo. |
Hello. I will try this myself as soon as possible. If you share the relevant parts of the code, I can better understand where I went wrong. |
Hi, yes of course, it's pretty much the same as your example's code, but with set startX and startY on the items, so when an item is added or the whole grid changed slots count, we expect for this items to return to their original place
|
Hi, I think I noticed something similar, I planned to make a small a reproducible example but didn't get time yet. In dashboardcontroller.dart, in mountToTop function, I added this before the while(true) loop, for test and it fixed my issue of unwanted relocation when startx/starty are set and valid. If not valid, then the while loop does its job of relocating to a free area. But the real issue is probably somewhere else, it's just a workaround I think.. I hope this will help you to debug.. :) |
Thanks everyone. First of all, I opened a special project for this problem and I will try every possibility one by one. Can you try as seen in this example until the issue is resolved? (I don't know if there is a solution for you.) An update that fixes this issue, along with a few new features, is coming soon. The setting in this example is: |
@Mehmetyaz Hi! do you have any estimated time for the new version? in our app we are going to start messing with it and I would like to start after you do your last changes. |
Hi! Sorry for late. I have a job to deliver on September 15th. I added the Dashboard to my program. I have a task related to Dashboard that will be finished in a few days. |
Hi! i've tried your widget and it is great thanks for the great work.
I'm wondering how would you do to have a default or set position for widgets ?
I would like to use the dashboard to be able to swap pieces of the UI and make my app more customizable, but when I make the window smaller and bigger again, the order I setup wont be respected.
Do you think this is something I can modify being very new in dart/flutter?
The text was updated successfully, but these errors were encountered: